Studyon Minte9.com
Android




Scroll list



	%--- MainActivity.java
	
	...

	final ListView articleList = (ListView) findViewById(android.R.id.list);
	articleList.post(new Runnable() {
		@Override
		public void run() {
			
			Log.i("catalin", "scroll");
			
		    // Select the last row so it will scroll into view...
			articleList.setSelection(30);
                        // articleList.setSelection(listAdapter.getCount() + 1);
		}
	    });


http://stackoverflow.com/questions/6275559/how-to-use-getlistview-in-activity