ribot / easy-adapter

[DEPRECATED] Easy Adapters library for Android
http://ribot.github.io
Apache License 2.0
421 stars 50 forks source link

The "Get your listener from the ItemViewHolder" in the readme is poorly documented. #25

Closed ColdSauce closed 9 years ago

ColdSauce commented 9 years ago

There seems to be a method call to a getListeners() method yet there is no method declaration for such a method. (At least for RecyclerViews)

jsonfry commented 9 years ago

Good afternoon! Thanks for the feedback, what exactly are you unsure about?

Inside your ItemViewHolder you can call getListener(MyListenerClassName.class) to get your listener.

You set it when you create your EasyAdapter or EasyRecyclerAdapter.