我尝试像在Java示例中那样在kotlin中获得FirebaseRecyclerAdapter:
adapter= new FirebaseRecyclerAdapter<Category,CategoryViewHolder>(Category.class, R.layout.category_layout, CategoryViewHolder.class, categories){@override...
在科特林:
var adapter= object :FirebaseRecyclerAdapter<Category,CategoryViewHolder>(Category::class.java, R.layout.category_layout ,CategoryViewHolder::class { override fun...
}
我收到“许多参数”错误