How to implement Firebase Recycler Adapter in newer version of Android 3.1 and higher?

前端 未结 2 1475
旧巷少年郎
旧巷少年郎 2020-12-18 09:05

Basically, what I am trying to do is use a FirebaseRecyclerAdapter and populate the RecyclerView with my custom designed CardView. The

2条回答
  •  悲&欢浪女
    2020-12-18 09:38

    This is more of an advice. If you want to continue using the old method to populate your recyclerview ie The "populateViewHolder" method instead of the new "onBindViewHolder" method just use this;

    implementation 'com.firebaseui:firebase-ui:1.0.1'
    

    instead of upgraded firebase-ui versions

提交回复
热议问题