From 5ce6bb0838102b68ab653a139d180f90da0dd529 Mon Sep 17 00:00:00 2001 From: CraZyLegenD Date: Thu, 13 Jun 2019 12:20:00 +0200 Subject: [PATCH] uri extensions alongside retrofit adding few types to add to hashmap --- .../kotlinextensions/viewpager/FragmentPagerAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlinextensions/src/main/java/com/crazylegend/kotlinextensions/viewpager/FragmentPagerAdapter.kt b/kotlinextensions/src/main/java/com/crazylegend/kotlinextensions/viewpager/FragmentPagerAdapter.kt index b4a928ee4..1e59f2e2d 100644 --- a/kotlinextensions/src/main/java/com/crazylegend/kotlinextensions/viewpager/FragmentPagerAdapter.kt +++ b/kotlinextensions/src/main/java/com/crazylegend/kotlinextensions/viewpager/FragmentPagerAdapter.kt @@ -10,7 +10,7 @@ import java.util.* * Created by Hristijan on 2/4/19 to long live and prosper ! */ -class FragmentPagerAdapter(fragmentManager: FragmentManager) : FragmentStatePagerAdapter(fragmentManager) { +class FragmentPagerAdapter(fragmentManager: FragmentManager) : FragmentStatePagerAdapter(fragmentManager, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT) { private val fragmentList = ArrayList() private val fragmentTitleList = ArrayList()