Can not be applied while setting adapter for RecyclerView in BottomSheetDialogFragment

165 views Asked by At

I am trying to implement RecyclerView in

BottomSheetDialogFragment

but at time of setting

adapter to recyclerView

, compile time error showing it can't be applied. Am I doing wrong using recyclerView in BottomSheetDialogFragment or is there any other way??

1

There are 1 answers

0
AudioBubble On

Solved my problem.Actually It wasn't problem, it was my silly and poor mistake.. I was trying to set adapter on my BottomSheetDialogFragment class itself. Sorry for posting this type of silly problem..