Code example for ScrollingMovementMethod

0
    } 
     
    // This method waits for the HTTP Request in the AsyncTask SlashdotGet 
    // to return and then sets the text. 
    private void update() { 
    	_mText.setMovementMethod(new ScrollingMovementMethod());
    	 
    	SlashdotAsync sa = (SlashdotAsync) new SlashdotAsync(this).execute((Void[]) null);
    	try { 
			_mText.setText(sa.get());
		} catch (InterruptedException e) {
			Log.d(T, e.getMessage());
		} catch (ExecutionException e) {
			Log.d(T, e.getMessage());
		} 
    } 
}