Closed tosam144 closed 4 years ago
Yes, the bundled ViewHelper
implementation FastScrollNestedScrollView.SimpleViewHelper
doesn't implement ViewHelper.getPopupText()
, because it has no idea of when to show what text. You can implement your own ViewHelper
along with ViewHelper.getPopupText()
if you know how the scroll position should correspond to popup text in your own app's logic.
I would like to know how I can implement
PopupTextProvider
inFastScrollNestedScrollView
? The direct child ofFastScrollNestedScrollView
is aLinearLayout
, which contains some TextViews and also a nestedRecyclerView
(withandroid:isScrollContainer="false"
). I tried to usenew FastScrollerBuilder(mNestedScrollView).setPopupTextProvider(position -> "some text").build();
But the code "some text" is never called. Any ideas?