|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
|
|
package org.mozilla.fenix.home.sessioncontrol.viewholders.topsites
|
|
|
|
|
package org.mozilla.fenix.home.topsites
|
|
|
|
|
|
|
|
|
|
import android.view.LayoutInflater
|
|
|
|
|
import android.view.ViewGroup
|
|
|
|
@ -12,8 +12,7 @@ import androidx.recyclerview.widget.ListAdapter
|
|
|
|
|
import mozilla.components.feature.top.sites.TopSite
|
|
|
|
|
import org.mozilla.fenix.home.sessioncontrol.AdapterItem.TopSitePagerPayload
|
|
|
|
|
import org.mozilla.fenix.home.sessioncontrol.TopSiteInteractor
|
|
|
|
|
import org.mozilla.fenix.home.sessioncontrol.viewholders.TopSitePagerViewHolder.Companion.TOP_SITES_PER_PAGE
|
|
|
|
|
import org.mozilla.fenix.home.sessioncontrol.viewholders.TopSiteViewHolder
|
|
|
|
|
import org.mozilla.fenix.home.topsites.TopSitePagerViewHolder.Companion.TOP_SITES_PER_PAGE
|
|
|
|
|
|
|
|
|
|
class TopSitesPagerAdapter(
|
|
|
|
|
private val interactor: TopSiteInteractor
|