mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Remove setHasFixedSize as it is not needed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
75924576d6
commit
68caad4b39
2 changed files with 0 additions and 2 deletions
|
@ -87,7 +87,6 @@ public class SendFilesDialog extends BottomSheetDialogFragment {
|
|||
SendButtonAdapter.ClickListener clickListener = setupSendButtonClickListener(sendIntent);
|
||||
|
||||
RecyclerView sendButtonsView = view.findViewById(R.id.send_button_recycler_view);
|
||||
sendButtonsView.setHasFixedSize(true);
|
||||
sendButtonsView.setLayoutManager(new GridLayoutManager(getActivity(), 4));
|
||||
sendButtonsView.setAdapter(new SendButtonAdapter(sendButtonDataList, clickListener));
|
||||
|
||||
|
|
|
@ -165,7 +165,6 @@ public class SendShareDialog extends BottomSheetDialogFragment {
|
|||
SendButtonAdapter.ClickListener clickListener = setupSendButtonClickListener(sendIntent);
|
||||
|
||||
RecyclerView sendButtonsView = view.findViewById(R.id.send_button_recycler_view);
|
||||
sendButtonsView.setHasFixedSize(true);
|
||||
sendButtonsView.setLayoutManager(new GridLayoutManager(getActivity(), 4));
|
||||
sendButtonsView.setAdapter(new SendButtonAdapter(sendButtonDataList, clickListener));
|
||||
|
||||
|
|
Loading…
Reference in a new issue