How put seekbar to the class derived from listvew as not item

  • Replies:1
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Nov 24, 2014 7:50:31 PM via Website

I override scrollbar. Its not scrolling in custom listview, only for design, for scrolling i am use special code where i am change offset value. ComputeVerticalScrollbarOffset return value 1..17000 and ComputeVerticalScrollbarRange return 17000, when i run debug and offset value equals around 17000 scrollbar stoping on the end, but values less 14 000 work perfect. Can i put seekbar not item to the listview for use it as scrollbar? Or how repair scrollbar? Sorry for my english.

  • Forum posts: 118

Nov 24, 2014 9:48:00 PM via App

Using scrollbar or anykind of scrolling view on listview is not good practise. Listview itself is already scrolling. Take a look at MergeAdapter to add custom views to listview as list item. MergeAdapter is from a library. I dont know its name anymore but its been used in many stackoverflow posts and such. It shouldnt be hard to find on google.