Open IlyaEremin opened 9 years ago
This seems to be similar to #99. Check that issue, I've provided a workaround that might be useful for you (require some work as you use ListView).
@dirkam yeap, it's exactly the same case and it is ok for temporary workaround. Thank a lot for link! But It looks like hack, we need more elegant solution :smiling_imp:
And disable onScrollListener if attach to listview after setting scrollListener. My layout:
my code:
In this case fab does not hide. If I place attachToListView before setOnScrollListener then my onScrollListener won't work.
added: I look to source code ListView and notice, that LV can has only one onScrollListener. FAB sets its own listener to listview. Now, I can't grasp how to make work 2 or more listeners for listView. Any suggestion?
P.s. Я разговариваю на русском ;о