package com.remax.visualnovel.widget.imageviewer.core

import android.view.View
import androidx.recyclerview.widget.RecyclerView
import com.remax.visualnovel.widget.imageviewer.ImageViewerAdapterListener

interface ViewerCallback : ImageViewerAdapterListener {
    override fun onInit(viewHolder: RecyclerView.ViewHolder, position: Int) {}
    override fun onDrag(viewHolder: RecyclerView.ViewHolder, view: View, fraction: Float) {}
    override fun onRestore(viewHolder: RecyclerView.ViewHolder, view: View, fraction: Float) {}
    override fun onRelease(viewHolder: RecyclerView.ViewHolder, view: View) {}
    fun onPageScrollStateChanged(state: Int) {}
    fun onPageScrolled(position: Int, positionOffset: Float, positionOffsetPixels: Int) {}
    fun onPageSelected(position: Int, item: Photo?,totalCount: Int, viewHolder: RecyclerView.ViewHolder) {}
}