Android: restore scrollby(0) hack cause removing it didnt fix the bug
This commit is contained in:
parent
fbca919691
commit
5a7139fc7f
|
@ -300,7 +300,7 @@ public class GalleryAdapter extends RecyclerView.Adapter<GalleryAdapter.AbsViewH
|
|||
} else {
|
||||
view.swapAdapter(GalleryAdapter.this, true);
|
||||
// http://stackoverflow.com/a/42549611/453052
|
||||
// view.scrollBy(0, 0);
|
||||
view.scrollBy(0, 0);
|
||||
}
|
||||
} else {
|
||||
view.postDelayed(new Runnable() {
|
||||
|
|
Loading…
Reference in New Issue