This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class QuickReturn implements AbsListView.OnScrollListener { | |
public static QuickReturn apply(ListView listView, View targetView){ | |
return new QuickReturn(listView, targetView); | |
} | |
private final ListView mListView; | |
private final View mTargetView; | |
private AbsListView.OnScrollListener mOnScrollListener; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GA { | |
private static volatile GA sInstance; | |
public static GA from(Context context) { | |
if (sInstance == null) { | |
synchronized (GA.class) { | |
if (sInstance == null) { | |
sInstance = new GA(context); | |
} |