Merge "Fixing wrong index passed when highlighting a preference during scroll" into ub-launcher3-master
This commit is contained in:
commit
367f8f2e2d
1 file changed
+1
-1
@@ -75,7 +75,7 @@ public class ListViewHighlighter implements OnScrollListener, RecyclerListener,
|
||||
@Override
|
||||
public void onScroll(AbsListView view, int firstVisibleItem,
|
||||
int visibleItemCount, int totalItemCount) {
|
||||
highlightIfVisible(firstVisibleItem, firstVisibleItem + visibleItemCount);
|
||||
highlightIfVisible(firstVisibleItem, firstVisibleItem + visibleItemCount - 1);
|
||||
}
|
||||
|
||||
private boolean highlightIfVisible(int start, int end) {
|
||||
|
||||
Reference in new issue
Block a user