private void LoadFragment(int index) { var fragmentTransaction = _fragmentManager.BeginTransaction(); HideAllTabs(fragmentTransaction); switch (index) { case 0: if (_readerReadFrag == null) { _readerReadFrag = ReaderInventoryFragment.NewInstance(); fragmentTransaction.Add(Resource.Id.fragment_frame, _readerReadFrag); } else { fragmentTransaction.Show(_readerReadFrag); } break; } fragmentTransaction.Commit(); }
public RfidEventListener(App app, ReaderInventoryFragment _fragment) { _app = app; _control = _fragment; }
public RfidTagListener(ReaderInventoryFragment fragment) { _fragment = fragment; }