Package 

Class ChannelsViewModelFactory

    • Method Summary

      Modifier and Type Method Description
      <T extends ViewModel> T create(Class<T> modelClass)
      • Methods inherited from class androidx.lifecycle.ViewModelProvider.Factory

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChannelsViewModelFactory

        ChannelsViewModelFactory(FilterObject filter, QuerySort<Channel> sort, Integer limit)
        Parameters:
        filter - how to filter the channels
        sort - how to sort the channels, defaults to last_updated
        limit - how many channels to return
      • ChannelsViewModelFactory

        ChannelsViewModelFactory(FilterObject filter, QuerySort<Channel> sort)
        Parameters:
        filter - how to filter the channels
        sort - how to sort the channels, defaults to last_updated
      • ChannelsViewModelFactory

        ChannelsViewModelFactory(FilterObject filter)
        Parameters:
        filter - how to filter the channels
      • ChannelsViewModelFactory

        ChannelsViewModelFactory()