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>(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
abstract class BaseBottomSheetDialogFragment<T : ViewBinding>(val bindingCreator: BaseFragment.BindingCreator<T>) : BottomSheetDialogFragment, BaseFragmentHelper<T>
Link copied to clipboard
abstract class BaseDialogFragment<T : ViewBinding>(val bindingCreator: BaseFragment.BindingCreator<T>) : DialogFragment, BaseFragmentHelper<T>
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
abstract class BaseFragment<T : ViewBinding>(val bindingCreator: BaseFragment.BindingCreator<T>) : Fragment, BaseFragmentHelper<T>
Link copied to clipboard
abstract class BasePreferenceFragmentCompat : PreferenceFragmentCompat
Link copied to clipboard
class ControllerActivity : ExpandedControllerActivity
Link copied to clipboard
class EasterEggMonkeFragment : BaseFragment<FragmentEasterEggMonkeBinding>
Link copied to clipboard
class GrdLayoutManager(val context: Context, spanCount: Int) : GridLayoutManager
Link copied to clipboard
class MaxRecyclerView(ctx: Context, attrs: AttributeSet) : RecyclerView

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
open class NonFinalAdapterListUpdateCallback(mAdapter: RecyclerView.Adapter<*>) : ListUpdateCallback

ListUpdateCallback that dispatches update events to the given adapter.

Link copied to clipboard
abstract class NoStateAdapter<T : Any>(diffCallback: DiffUtil.ItemCallback<T> = BaseDiffCallback()) : 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
open class ViewHolderState<T>(val view: ViewBinding) : RecyclerView.ViewHolder
Link copied to clipboard
Link copied to clipboard
class WebviewFragment : BaseFragment<FragmentWebviewBinding>

Functions

Link copied to clipboard
fun Pair<WeakHashMap<Context, RecyclerView.RecycledViewPool>, RecyclerView.RecycledViewPool.() -> Unit>.clear()

Clears the shared pool of views

Link copied to clipboard
fun newSharedPool(lambda: RecyclerView.RecycledViewPool.() -> Unit = { }): Pair<WeakHashMap<Context, RecyclerView.RecycledViewPool>, RecyclerView.RecycledViewPool.() -> Unit>

Creates a new shared pool, using the supplied lambda as a constructor.

Link copied to clipboard
fun RecyclerView.setRecycledViewPool(pool: Pair<WeakHashMap<Context, RecyclerView.RecycledViewPool>, RecyclerView.RecycledViewPool.() -> Unit>)

Sets the shared pool of the recyclerview