You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
It's a little ugly, but it's less boilerplate than standard implementation, so please, don't remove EBan view annotations if you don't provide a @EViewHolder annotation, with the ability to tell AA when to findViewsById on itemView
@LouisCO you should either refactor your code to this approach or you can use my slightly improved version where in my case the TrackView is a @EViewGroup that can use @ViewById for its childs.
@dodgex your version isn't very straighforward for thos wanting to add @ViewById and implies boilerplate for each project anyway... Why don't you provide a modified RecyclerViewAdapterBase with abstract getItem(int position) in place of the ArrayList, and your ViewVrapper in AA? Also, I think a usage example of using @EViewGroup in the doc would help developers to use the good approach
Activity
LouisCAD commentedon Sep 9, 2015
Only if You add it for RecyclerView ViewHolders.
How I use
@ViewByIdfor my RecyclerViews nowIt's a little ugly, but it's less boilerplate than standard implementation, so please, don't remove EBan view annotations if you don't provide a @EViewHolder annotation, with the ability to tell AA when to findViewsById on itemView
dodgex commentedon Sep 9, 2015
@LouisCO you should either refactor your code to this approach or you can use my slightly improved version where in my case the
TrackViewis a@EViewGroupthat can use@ViewByIdfor its childs.LouisCAD commentedon Sep 9, 2015
@dodgex your version isn't very straighforward for thos wanting to add
@ViewByIdand implies boilerplate for each project anyway... Why don't you provide a modified RecyclerViewAdapterBase with abstractgetItem(int position)in place of the ArrayList, and your ViewVrapper in AA? Also, I think a usage example of using@EViewGroupin the doc would help developers to use the good approachgauravsak commentedon Dec 30, 2016
@WonderCsabo If this issue is resolved, could you please mark it closed? Thanks!