Remove redundant overriding method
package com.github.pockethub.android.ui.user
import android.os.Bundle
-import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.viewpager.widget.PagerAdapter
import com.github.pockethub.android.R
@@ -59,11 +58,6 @@ class HomePagerAdapter(
return PagerAdapter.POSITION_NONE
}
- override fun instantiateItem(container: ViewGroup, position: Int): Any {
- val fragment = super.instantiateItem(container, position)
- return fragment
- }
-
override fun getCount(): Int {
return if (defaultUser) 4 else 3
}
