mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 20:19:42 +01:00
codacy: could be replaced by a local variable
This commit is contained in:
parent
f7257af2c2
commit
4440e1e192
@ -113,8 +113,6 @@ public class CallsListController extends BaseController implements SearchView.On
|
|||||||
@BindView(R.id.fast_scroller)
|
@BindView(R.id.fast_scroller)
|
||||||
FastScroller fastScroller;
|
FastScroller fastScroller;
|
||||||
|
|
||||||
private SmoothScrollLinearLayoutManager layoutManager;
|
|
||||||
|
|
||||||
private UserEntity userEntity;
|
private UserEntity userEntity;
|
||||||
private Disposable roomsQueryDisposable;
|
private Disposable roomsQueryDisposable;
|
||||||
private FlexibleAdapter<CallItem> adapter;
|
private FlexibleAdapter<CallItem> adapter;
|
||||||
@ -332,7 +330,8 @@ public class CallsListController extends BaseController implements SearchView.On
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void prepareViews() {
|
private void prepareViews() {
|
||||||
layoutManager = new SmoothScrollLinearLayoutManager(getActivity());
|
SmoothScrollLinearLayoutManager layoutManager =
|
||||||
|
new SmoothScrollLinearLayoutManager(getActivity());
|
||||||
recyclerView.setLayoutManager(layoutManager);
|
recyclerView.setLayoutManager(layoutManager);
|
||||||
recyclerView.setHasFixedSize(true);
|
recyclerView.setHasFixedSize(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user