Home
last modified time | relevance | path

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

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DMainActivity.java39 private StreamRetentionFragment mRetentionFragment; field in MainActivity
65 mRetentionFragment = (StreamRetentionFragment) fm.findFragmentByTag(RETENTION_TAG); in onCreate()
66 if (mRetentionFragment == null) { in onCreate()
67 mRetentionFragment = new StreamRetentionFragment(); in onCreate()
68 fm.beginTransaction().add(mRetentionFragment, RETENTION_TAG).commit(); in onCreate()
72 CardStreamState state = mRetentionFragment.getCardStream(); in onCreate()
93 mRetentionFragment.storeCardStream(state); in onSaveInstanceState()