Closed meruiden closed 4 years ago
The readme docs for adding event hooks show the following example code:
val oneAdapter = OneAdapter(recyclerView) .attachItemModule(MessageModule()).addEventHook(MessageClickEvent()) ...
there is a parenthese misplaced.
Correct:
val oneAdapter = OneAdapter(recyclerView) .attachItemModule(MessageModule().addEventHook(MessageClickEvent())) ...
And the ClickEventHook still returns the old model rather then the new Item model containing the metadata
Thanks, you are correct. Regarding the event hook, will be wrapped with Item<> in the next version 👍🏼
The readme docs for adding event hooks show the following example code:
there is a parenthese misplaced.
Correct: