initialize viewpager mMedia at creation

This commit is contained in:
tibbi 2016-12-06 17:35:05 +01:00
parent 7ff2d43f64
commit 73cd9a5638

View file

@ -34,7 +34,7 @@ import java.io.File
import java.util.* import java.util.*
class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View.OnSystemUiVisibilityChangeListener, ViewPagerFragment.FragmentClickListener { class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View.OnSystemUiVisibilityChangeListener, ViewPagerFragment.FragmentClickListener {
lateinit var mMedia: ArrayList<Medium> private var mMedia = ArrayList<Medium>()
private var mPath = "" private var mPath = ""
private var mDirectory = "" private var mDirectory = ""