ListView scroll to specific position


If you want to scroll listview at any particular position:
 use the code when you want to scroll smoothly with animation:


listView.post(new Runnable() {
                @Override
                public void run() {
                    listView.smoothScrollToPosition(selindexof);
                   
                }
            });
           
          
If you want to just direct scroll:

listView.setSelection(selindexof);


Enjoy coding. 

Comments