Closed NoahReyson closed 5 years ago
Hi, You forgot to set a LayoutManager to your RecyclerView, without it nothing would work 😉 The adapter can't work if the recyclerView does know how its children should be displayed.
From the sample app: BaseExampleActivity.kt recyclerView = findViewById(R.id.recycler) recyclerView.layoutManager = LinearLayoutManager(this)
Thank you so much.
I'll change my clickbait title ^^
Hi,
I recently discovered your API and it looks great at first look.
But I tried to implement a very basic example and impossible to get a result.
Here my files:
MainActivity
CardModel
CardModule
card_module.xml
activity_main.xml
There is no crash nor explicit error. My MainActivity just stay perfectly empty.
Is there something I misunderstood ?