Android: restore scrollby(0) hack cause removing it didnt fix the bug

This commit is contained in:
Amit Davidi 2017-03-08 16:57:26 +02:00
parent fbca919691
commit 5a7139fc7f
1 changed files with 1 additions and 1 deletions

View File

@ -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() {