Destroy fragment's presenter when they aren't needed using FragmentStack class from Nucleus' examples

This commit is contained in:
inorichi
2015-11-17 00:28:22 +01:00
parent 11563e6f95
commit b389db9773
6 changed files with 220 additions and 12 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="400"
android:fromXDelta="-100%"
android:toXDelta="0%" />
</set>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="400"
android:fromXDelta="100%"
android:toXDelta="0%" />
</set>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="400"
android:fromXDelta="0%"
android:toXDelta="-100%" />
</set>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="400"
android:fromXDelta="0%"
android:toXDelta="100%" />
</set>