simplify code for readability
This commit is contained in:
parent
a261a62584
commit
8c9a1a396a
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ public final class Helper {
|
|||
|
||||
rv.setAdapter(null);
|
||||
rv.setAdapter(adapter);
|
||||
rv.scrollToPosition(prevScrollPosition > 0 ? prevScrollPosition : 0);
|
||||
rv.scrollToPosition(Math.max(prevScrollPosition, 0));
|
||||
}
|
||||
|
||||
public static String makeid(int length) {
|
||||
|
|
Loading…
Reference in a new issue