PR cleanup #1164
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue