Closed mgolokhov closed 8 years ago
green - right counter, red - wrong counter
Commit can be used as a trigger for notification, in that case it should be moved to the activity
You can't set setOffscreenPageLimit(int) less than DEFAULT_OFFSCREEN_PAGES and DEFAULT_OFFSCREEN_PAGES = 1
Temporary solution (every view will be recreated):
@Override
public int getItemPosition(Object object) {
return POSITION_NONE;
}
We use ViewPager with Fragments, so when current View is changed other (cached) Views should be notified.
Possible solutions:
Also counters should be moved to the global scope.