Package-level declarations

Types

Link copied to clipboard
class APIRepository(val api: MainAPI)
Link copied to clipboard
class AutofitRecyclerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : RecyclerView
Link copied to clipboard
abstract class BaseAdapter<T : Any, S : Any>(fragment: Fragment, val id: Int = 0, diffCallback: DiffUtil.ItemCallback<T> = BaseDiffCallback()) : RecyclerView.Adapter<ViewHolderState<S>>

BaseAdapter is a persistent state stored adapter that supports headers and footers. This should be used for restoring eg scroll or focus related to a view when it is recreated.

Link copied to clipboard
class BaseDiffCallback<T : Any>(val itemSame: (T, T) -> Boolean = { a, b -> a.hashCode() == b.hashCode() }, val contentSame: (T, T) -> Boolean = { a, b -> a.hashCode() == b.hashCode() }) : DiffUtil.ItemCallback<T>
Link copied to clipboard
class ControllerActivity : ExpandedControllerActivity
Link copied to clipboard
Link copied to clipboard
class GrdLayoutManager(val context: Context, _spanCount: Int) : GridLayoutManager
Link copied to clipboard
Link copied to clipboard

Recyclerview wherein the max item width or height is set by the biggest view to prevent inconsistent view sizes.

Link copied to clipboard
data class MetadataHolder(val apiName: String, val isMovie: Boolean, val title: String?, val poster: String?, val currentEpisodeIndex: Int, val episodes: List<ResultEpisode>, val currentLinks: List<ExtractorLink>, val currentSubtitles: List<SubtitleData>)
Link copied to clipboard
class MyMiniControllerFragment : MiniControllerFragment
Link copied to clipboard

ListUpdateCallback that dispatches update events to the given adapter.

Link copied to clipboard
abstract class NoStateAdapter<T : Any>(fragment: Fragment) : BaseAdapter<T, Any>
Link copied to clipboard
class SelectSourceController(val view: ImageView, val activity: ControllerActivity) : UIController
Link copied to clipboard
class SkipNextEpisodeController(val view: ImageView) : UIController
Link copied to clipboard
class SkipTimeController(val view: ImageView, forwards: Boolean) : UIController
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class ViewHolderState<T>(val view: ViewBinding) : RecyclerView.ViewHolder
Link copied to clipboard
Link copied to clipboard