timusus / RecyclerView-FastScroll

A simple FastScroller for Android's RecyclerView
Other
1.39k stars 183 forks source link

Can I get height of item directly from Adapter but no need define a fixed height value in dimens? #119

Open dbackspace opened 2 years ago

dbackspace commented 2 years ago

Hello, Currently, my recyclerview has more view type and I have no exactly height for each item view type. Could I have any way to get the height directly from code, eg itemView.getHeight()..... instead get fixed height from dimens value files? Thanks :D