Skip to content

Commit 7cadac0

Browse files
author
Daniel Novak
authored
Merge pull request #24 from mpeng3/patch-1
Fixed typo in README.
2 parents eb0cbc7 + b271042 commit 7cadac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The Android implementation of [FragmentStatePagerAdapter](https://developer.andr
9696
We should be also removing ViewModels and storing their state to be consistent with this behaviour.
9797

9898
<b>Use [ViewModelStatePagerAdapter](library/src/main/java/eu/inloop/viewmodel/support/ViewModelStatePagerAdapter.java) instead of the default FragmentStatePagerAdapter</b>. This class is only overriding the ```destroyItem()``` method and making sure that ViewModel is removed. The state is stored/restored automatically.
99-
You can also use the stnadard FragmentStatePagerAdapter - in that case ViewModels will be kept in memory and removed only when you leave the screen (Activity finished or Fragment removed).
99+
You can also use the standard FragmentStatePagerAdapter - in that case ViewModels will be kept in memory and removed only when you leave the screen (Activity finished or Fragment removed).
100100

101101
How does it work?
102102
--------

0 commit comments

Comments
 (0)