Code example for GridView

Methods: focusableViewAvailable

0
    private Handler mHandler = new Handler();
    private boolean mFinishedStart = false;
 
    private Runnable mRequestFocus = new Runnable() {
	public void run() { 
	    mGridView.focusableViewAvailable(mGridView); 
	} 
    }; 
 
    public GridActionBarFooterActivity() { 
	super(); 
    } 
 
    public GridActionBarFooterActivity(ActionBar.Type actionBarType) { 
	super(actionBarType); 
    } 
 
    /** 
     * This method will be called when an item in the grid is selected. 
     * Subclasses should override. Subclasses can call 
     * getGridView().getItemAtPosition(position) if they need to access the data