initialize viewpager mMedia at creation

This commit is contained in:
tibbi 2016-12-06 17:35:05 +01:00
parent 7ff2d43f64
commit 73cd9a5638
1 changed files with 1 additions and 1 deletions

View File

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