Code example for ListView

Methods: focusableViewAvailable

0
public class ListFragment extends SherlockFragment { 
    final private Handler mHandler = new Handler();
 
    final private Runnable mRequestFocus = new Runnable() {
        public void run() { 
            mList.focusableViewAvailable(mList); 
        } 
    }; 
 
    final private AdapterView.OnItemClickListener mOnClickListener
            = new AdapterView.OnItemClickListener() { 
        public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 
            onListItemClick((ListView)parent, v, position, id); 
        } 
    }; 
 
    ListAdapter mAdapter;
    ListView mList;
    View mEmptyView;
    TextView mStandardEmptyView;