mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-27 17:26:09 +00:00
Clean up unused variables
This commit is contained in:
parent
ad138e4a4c
commit
bc6cb35dc0
1 changed files with 0 additions and 2 deletions
|
@ -296,8 +296,6 @@ public class EntryListView extends Fragment implements EntryAdapter.Listener {
|
||||||
|
|
||||||
LinearLayoutManager layoutManager = (LinearLayoutManager) _recyclerView.getLayoutManager();
|
LinearLayoutManager layoutManager = (LinearLayoutManager) _recyclerView.getLayoutManager();
|
||||||
if (focusEntry && position >= 0) {
|
if (focusEntry && position >= 0) {
|
||||||
int last = layoutManager.findLastVisibleItemPosition();
|
|
||||||
int first = layoutManager.findFirstVisibleItemPosition();
|
|
||||||
if ((_recyclerView.canScrollVertically(1) && position > layoutManager.findLastCompletelyVisibleItemPosition())
|
if ((_recyclerView.canScrollVertically(1) && position > layoutManager.findLastCompletelyVisibleItemPosition())
|
||||||
|| (_recyclerView.canScrollVertically(-1) && position < layoutManager.findFirstCompletelyVisibleItemPosition())) {
|
|| (_recyclerView.canScrollVertically(-1) && position < layoutManager.findFirstCompletelyVisibleItemPosition())) {
|
||||||
RecyclerView.OnScrollListener scrollListener = new RecyclerView.OnScrollListener() {
|
RecyclerView.OnScrollListener scrollListener = new RecyclerView.OnScrollListener() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue