onCreateViewModel

open fun onCreateViewModel(): OpenChannelViewModel

Returns a OpenChannelViewModel. It is a class that includes business logic such as data and networking to be used on the OpenChannel screen, and uses Android's View Model.

Return

OpenChannelViewModel

See also