diff --git a/android/src/com/mapswithme/maps/bookmarks/BookmarksPagerAdapter.java b/android/src/com/mapswithme/maps/bookmarks/BookmarksPagerAdapter.java index 51e127b45e..060bda0cc3 100644 --- a/android/src/com/mapswithme/maps/bookmarks/BookmarksPagerAdapter.java +++ b/android/src/com/mapswithme/maps/bookmarks/BookmarksPagerAdapter.java @@ -4,11 +4,11 @@ import android.content.Context; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; -import android.support.v4.app.FragmentPagerAdapter; +import android.support.v4.app.FragmentStatePagerAdapter; import java.util.List; -public class BookmarksPagerAdapter extends FragmentPagerAdapter +public class BookmarksPagerAdapter extends FragmentStatePagerAdapter { @NonNull private final List mFactories;