What's wrong with my code? The recyclerview is not...
# android
m
What's wrong with my code? The recyclerview is not displaying items.
stackoverflow 6
d
Have you given the
RecyclerView
a
LayoutManager
?
m
Yes!
But problem is with initialisation in adapter.
What is it not working?
s
First of all call notifyDataSetChange ens of the updateNotification method. And findviewbyid shouldn't called in onBindView. And please identify what is current behaviour and what you expect.
m
Thanks @Sinan Kozak!