PR cleanup #1164

Merged
akinwale merged 32 commits from pr-1118 into master 2021-03-08 20:15:23 +01:00
Showing only changes of commit 8c9a1a396a - Show all commits

View file

@ -782,7 +782,7 @@ public final class Helper {
rv.setAdapter(null); rv.setAdapter(null);
rv.setAdapter(adapter); rv.setAdapter(adapter);
rv.scrollToPosition(prevScrollPosition > 0 ? prevScrollPosition : 0); rv.scrollToPosition(Math.max(prevScrollPosition, 0));
} }
public static String makeid(int length) { public static String makeid(int length) {