0

There is option view below the action bar like twitter. While scrolling up the option, view will slide/hide accrodingly. Is there any example for this? How to do this precisely? Do I have to do this with OnTouchListener? please help.

NaiveBz
  • 834
  • 2
  • 8
  • 19
  • Have you try OnScrollListener to detect ScrollUp and ScrollDown even like [this](http://stackoverflow.com/a/17017477/1621500) – Jackie Feb 20 '14 at 03:41
  • @Jackie ya i did that, but seem like not precise and efficient. because my item height is too long. have to wait until entire single item scrolled up only execute the statement. – NaiveBz Feb 20 '14 at 10:45
  • 2
    This might be answered here: http://stackoverflow.com/questions/15464649/android-listview-floating-first-row, which you can check out the sample app from: https://code.google.com/p/romannurik-code/source/browse/misc/scrolltricks/ – Robert Apr 02 '14 at 06:37
  • 1
    You can check this git [repo.](https://github.com/amalChandran/twitterListView) – amalBit Nov 06 '14 at 11:01

0 Answers0