mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 12:35:30 +03:00
shorting setting of list item decoration
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
951947f9f0
commit
c56d4fb0f6
2 changed files with 4 additions and 6 deletions
|
@ -287,11 +287,10 @@ public class CallsListController extends BaseController implements SearchView.On
|
|||
|
||||
recyclerView.setAdapter(adapter);
|
||||
|
||||
RecyclerView.ItemDecoration dividerItemDecoration = new DividerItemDecoration(
|
||||
recyclerView.addItemDecoration(new DividerItemDecoration(
|
||||
recyclerView.getContext(),
|
||||
layoutManager.getOrientation()
|
||||
);
|
||||
recyclerView.addItemDecoration(dividerItemDecoration);
|
||||
));
|
||||
|
||||
swipeRefreshLayout.setOnRefreshListener(() -> fetchData(true));
|
||||
swipeRefreshLayout.setColorSchemeResources(R.color.colorPrimary);
|
||||
|
|
|
@ -333,11 +333,10 @@ public class ContactsController extends BaseController implements SearchView.OnQ
|
|||
recyclerView.setHasFixedSize(true);
|
||||
recyclerView.setAdapter(adapter);
|
||||
|
||||
RecyclerView.ItemDecoration dividerItemDecoration = new DividerItemDecoration(
|
||||
recyclerView.addItemDecoration(new DividerItemDecoration(
|
||||
recyclerView.getContext(),
|
||||
layoutManager.getOrientation()
|
||||
);
|
||||
recyclerView.addItemDecoration(dividerItemDecoration);
|
||||
));
|
||||
|
||||
swipeRefreshLayout.setOnRefreshListener(() -> fetchData(true));
|
||||
swipeRefreshLayout.setColorSchemeResources(R.color.colorPrimary);
|
||||
|
|
Loading…
Reference in a new issue