Code example for ScrollView

Methods: post

0
      outputText.append("Started...\n");
      nativeCall(); 
      outputText.append("Finished!\n");
       
      // Ensure scroll to end of text 
      scroller.post(new Runnable() {
        public void run() { 
          scroller.fullScroll(ScrollView.FOCUS_DOWN);
        } 
      }); 
    } 
 
    /** Calls into C/C++ code */ 
    public void nativeCall() 
    { 
 
      // Create an instance of CEO, a class derived from the Java proxy of the  
      // underlying C++ class. The calls to getName() and getPosition() are standard, 
      // the call to getTitle() uses the director wrappers to call CEO.getPosition(). 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE