Home
last modified time | relevance | path

Searched refs:mDataItemListAdapter (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/
DDataFragment.java37 private DataItemAdapter mDataItemListAdapter; field in DataFragment
48 mDataItemListAdapter = new DataItemAdapter(getActivity(), in onCreateView()
50 dataItemList.setAdapter(mDataItemListAdapter); in onCreateView()
60 mDataItemListAdapter.add(new Event(title, text)); in appendItem()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java105 private DataItemAdapter mDataItemListAdapter; field in MainActivity
120 mDataItemListAdapter = new DataItemAdapter(this, android.R.layout.simple_list_item_1); in onCreate()
121 mDataItemList.setAdapter(mDataItemListAdapter); in onCreate()
222 mDataItemListAdapter.add( in onDataChanged()
225 mDataItemListAdapter.add( in onDataChanged()
236 mDataItemListAdapter.add(new Event("Message from watch", messageEvent.toString())); in onMessageReceived()
243 mDataItemListAdapter.add(new Event("onCapabilityChanged", capabilityInfo.toString())); in onCapabilityChanged()