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
@Scope | |
@Retention(AnnotationRetention.RUNTIME) | |
annotation class ActivityScope |
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 Bitmap getBitmap(int position) { | |
int index = getIndexFromPosition(position); | |
if (mBitmapArray[index] == null) { | |
createBitmapAtIndex(index); | |
} | |
mBitmapArray[index].eraseColor(Color.TRANSPARENT); | |
return mBitmapArray[index]; | |
} |
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
private Subject<Boolean, Boolean> mFragmentSubject1 = PublishSubject.create(); | |
private Subject<Boolean, Boolean> mFragmentSubject2 = PublishSubject.create(); | |
private Subject<Boolean, Boolean> mFragmentSubject3 = PublishSubject.create(); | |