androidlistviewonitemselectedlistener

display content of selected list item after some interval of time


i want my app to show the details/data of list items at the side of the list view.

OnItemSelectedListener would change the details/data every time I scroll for each list item.

I want those contents of list item to be changed after I stopped scrolling from DPAD and waited some seconds.

How can I do that.


Solution

  • working with the thread had solved the problem, restart the thread on each item selection. The thread sleeps for some interval and then populates the data.