mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
画像の表示時にアニメーションするように
This commit is contained in:
parent
10e3093c53
commit
c1151b778c
|
@ -72,11 +72,8 @@ public class ComponentViewerTopFragment extends Fragment {
|
|||
|
||||
document.getDocument(documentId).thenAccept(documentDetail -> {
|
||||
viewerBodyAdapter.setPages(documentDetail.getPages());
|
||||
// getActivity().runOnUiThread(() -> {
|
||||
// viewerBodyAdapter.notifyItemRangeChanged(0, pages.size());
|
||||
// });
|
||||
getActivity().runOnUiThread(() -> {
|
||||
viewerBodyAdapter.notifyDataSetChanged();
|
||||
viewerBodyAdapter.notifyItemRangeChanged(0, documentDetail.getPages().size());
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user