Skip to content

Instantly share code, notes, and snippets.

🏋
Happy Coding!

Prabhakar Thota myinnos

🏋
Happy Coding!
Block or report user

Report or block myinnos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ShortKey - Commands
## Commands
A command key has the following format:
`/<friendly label>!<comma separated commands>`
Example:
`/Italicise!dw,i(_$0_)`
@myinnos
myinnos / InfiniteScrollProvider.java
Created Mar 1, 2017
Infinite scroll functionality for recycler views
View InfiniteScrollProvider.java
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.util.Log;
/**
* Created by MyInnos on 28-11-2016.
*/
@myinnos
myinnos / TimeAgo.java
Last active Dec 2, 2018
Simple java class extends string for displaying dates as relative time ago language.
View TimeAgo.java
import java.util.Date;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.Resources;
/**
* Created by MyInnos on 28-11-2016.
*/
@myinnos
myinnos / TouchImageView.java
Last active Jun 19, 2019
Android ImageView to include pinch zooming, panning, fling and double tap zoom.
View TouchImageView.java
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import android.net.Uri;
You can’t perform that action at this time.