lucasr / twoway-view

[DEPRECATED] RecyclerView made simple
5.23k stars 1.02k forks source link

getScrollX() and getScrollY() return 0 #194

Open martinflorek opened 9 years ago

martinflorek commented 9 years ago

Can you make the correct getters for the scrollX and scrollY please? It looks like the total scroll value (at least for one direction) is in the mLayoutStart field in the core's TwoWayLayoutManager class, but it is private.

Having the global scroll offsets is needed for synchronized scrolling of multiple views e.g. parallax effect, hiding ActionBar, etc. Thank you.

chpetersen commented 9 years ago

Sorry for the late respons, but take a look at this: https://code.google.com/p/android/issues/detail?id=78191