Skip to content

Commit ccea6ec

Browse files
committed
Cleanup
1 parent 12760c1 commit ccea6ec

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

database/src/main/java/com/firebase/ui/database/FirebaseListAdapter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
* @param <T> The class type to use as a model for the data contained in the children of the given Firebase location
5151
*/
5252
public abstract class FirebaseListAdapter<T> extends BaseAdapter {
53-
Activity mActivity;
54-
final Class<T> mModelClass;
55-
int mLayout;
56-
FirebaseArray mSnapshots;
53+
protected Activity mActivity;
54+
protected final Class<T> mModelClass;
55+
protected int mLayout;
56+
protected FirebaseArray mSnapshots;
5757

5858

5959
/**

database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@
7070
* @param <VH> The ViewHolder class that contains the Views in the layout that is shown for each object.
7171
*/
7272
public abstract class FirebaseRecyclerAdapter<T, VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH> {
73-
Class<T> mModelClass;
74-
int mModelLayout;
75-
Class<VH> mViewHolderClass;
76-
FirebaseArray mSnapshots;
73+
protected Class<T> mModelClass;
74+
protected int mModelLayout;
75+
protected Class<VH> mViewHolderClass;
76+
protected FirebaseArray mSnapshots;
7777

7878
/**
7979
* @param modelClass Firebase will marshall the data at a location into an instance of a class that you provide

0 commit comments

Comments
 (0)