File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
database/src/main/java/com/firebase/ui/database Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 50
50
* @param <T> The class type to use as a model for the data contained in the children of the given Firebase location
51
51
*/
52
52
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 ;
57
57
58
58
59
59
/**
Original file line number Diff line number Diff line change 70
70
* @param <VH> The ViewHolder class that contains the Views in the layout that is shown for each object.
71
71
*/
72
72
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 ;
77
77
78
78
/**
79
79
* @param modelClass Firebase will marshall the data at a location into an instance of a class that you provide
You can’t perform that action at this time.
0 commit comments