Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java52 private FragmentTransaction mCurTransaction = null; field in BaseFragmentPagerAdapter
72 if (mCurTransaction == null) { in instantiateItem()
73 mCurTransaction = mFragmentManager.beginTransaction(); in instantiateItem()
85 mCurTransaction.attach(fragment); in instantiateItem()
93 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
105 if (mCurTransaction == null) { in destroyItem()
106 mCurTransaction = mFragmentManager.beginTransaction(); in destroyItem()
121 mCurTransaction.detach(fragment); in destroyItem()
141 if (mCurTransaction != null && !mFragmentManager.isDestroyed()) { in finishUpdate()
142 mCurTransaction.commitAllowingStateLoss(); in finishUpdate()
[all …]