Skip to content
This repository has been archived by the owner. It is now read-only.

Conversation

markverkiel
Copy link

…return the last added fragment.

  • Removed unnused usings
  • Removed double casting
  • Used .ToFragment() extension method.
  • Created _lastFragmentTag
  • Filling _lastFragmentTag within ShowFragment if Fragment is cacheable

This way GetLastFragmentInfo doesn't rely on SupportFragmentManager.Fragments ArrayList anymore.

After the first time that ShowFragment has been called, and a Cacheable fragment is displayed, _lastFragmentTag is filled with its last shown fragment tag.

…return the last added fragment.

- Removed unnused usings
- Removed double casting
- Used .ToFragment() extension method.
- Created _lastFragmentTag
- Filling _lastFragmentTag within ShowFragment if Fragment is cacheable
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant