Code example for GridView

Methods: focusableViewAvailable

0
public class GridFragment extends Fragment {
 
    final private Handler mHandler = new Handler();
    final private Runnable mRequestFocus = new Runnable() {
        public void run() { 
            mGridView.focusableViewAvailable(mGridView); 
        } 
    }; 
    final private AdapterView.OnItemClickListener mOnClickListener
            = new AdapterView.OnItemClickListener() { 
        public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 
            onGridItemClick((GridView) parent, v, position, id); 
        } 
    }; 
    private ListAdapter mAdapter;
    private GridView mGridView;
    private View mEmptyView;
    private TextView mStandardEmptyView;
    private View mProgressContainer;
    private View mGridContainer;
    private CharSequence mEmptyText;