Home
last modified time | relevance | path

Searched refs:mRssList (Results 1 – 5 of 5) sorted by relevance

/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DMyRssReader3.java37 ListView mRssList; field in MyRssReader3
52 mRssList = (ListView)findViewById(R.id.rssListView); in onCreate()
54 mRssList.setAdapter(mAdap); in onCreate()
59 mRssList.setSelection(savedInstanceState.getInteger("lastIndexItem")); in onCreate()
66 int index = mRssList.getSelectedItemIndex(); in onSaveInstanceState()
117 if(mRssList.hasFocus()){ in onOptionsItemSelected()
118 Object selectedItem = mRssList.getSelectedItem(); in onOptionsItemSelected()
119 mAdap.removeObject(mRssList.getSelectedItem()); in onOptionsItemSelected()
142 mRssList.setSelection(mRssList.getCount() - 1); in onActivityResult()
DMyRssReader5.java41 private ListView mRssList; field in MyRssReader5
56 mRssList = (ListView)findViewById(R.id.rssListView); in onCreate()
57 mRssList.setOnItemSelectedListener(this); in onCreate()
72 mRssList.setAdapter(mAdap); // the corresponding column. in onCreate()
77 mRssList.setSelection(savedInstanceState.getInteger("lastIndexItem")); in onCreate()
110 int index = mRssList.getSelectedItemIndex(); in onSaveInstanceState()
160 if(mRssList.hasFocus()){ in onOptionsItemSelected()
161 int currentSelectionIndex = mRssList.getSelectedItemIndex(); in onOptionsItemSelected()
163 mRssList.getSelectedItemIndex()); in onOptionsItemSelected()
205 mRssList.setSelection(mRssList.getCount() - 1); in onActivityResult()
DMyRssReader4.java37 ListView mRssList; field in MyRssReader4
50 mRssList = (ListView)findViewById(R.id.rssListView); in onCreate()
63 mRssList.setAdapter(mAdap); // the corresponding column. in onCreate()
69 mRssList.setSelection(savedInstanceState.getInteger("lastIndexItem")); in onCreate()
77 int index = mRssList.getSelectedItemIndex(); in onSaveInstanceState()
127 if(mRssList.hasFocus()){ in onOptionsItemSelected()
128 int currentSelectionIndex = mRssList.getSelectedItemIndex(); in onOptionsItemSelected()
161 mRssList.setSelection(mRssList.getCount() - 1); in onActivityResult()
DMyRssReader2.java35 ListView mRssList = null; field in MyRssReader2
50 mRssList = (ListView)findViewById(R.id.rssListView); in onCreate()
51 if(mRssList == null){ in onCreate()
63 mRssList.setAdapter(adap); in onCreate()
72 if(selectedItem >= 0 && selectedItem < mRssList.getChildCount()){ in onCreate()
73 mRssList.setSelection(savedInstanceState.getInteger("lastIndexItem")); in onCreate()
83 int index = mRssList.getSelectedItemIndex(); in onSaveInstanceState()
DMyRssReader.java38 mRssList = (ListView) findViewById(R.id.rssListView); in onCreate()
39 mRssList.setAdapter( in onCreate()
51 int index = mRssList.getSelectedItemIndex(); in onSaveInstanceState()
106 ListView mRssList; field in MyRssReader