squid:S2039 - Member variable visibility should be specified (#279)

This commit is contained in:
Mohamed Ezzat
2016-04-27 22:18:25 +02:00
committed by inorichi
parent e2ecf0ce5f
commit 270cacb1d7
4 changed files with 28 additions and 28 deletions

View File

@@ -10,7 +10,7 @@ public class EndlessGridScrollListener extends RecyclerView.OnScrollListener {
private int previousTotal = 0; // The total number of items in the dataset after the last load
private boolean loading = true; // True if we are still waiting for the last set of data to load.
private int visibleThreshold = 5; // The minimum amount of items to have below your current scroll position before loading more.
int firstVisibleItem, visibleItemCount, totalItemCount;
private int firstVisibleItem, visibleItemCount, totalItemCount;
private GridLayoutManager layoutManager;

View File

@@ -10,7 +10,7 @@ public class EndlessListScrollListener extends RecyclerView.OnScrollListener {
private int previousTotal = 0; // The total number of items in the dataset after the last load
private boolean loading = true; // True if we are still waiting for the last set of data to load.
private int visibleThreshold = 5; // The minimum amount of items to have below your current scroll position before loading more.
int firstVisibleItem, visibleItemCount, totalItemCount;
private int firstVisibleItem, visibleItemCount, totalItemCount;
private LinearLayoutManager layoutManager;