Base Module Fragment
Fragments provided to use UIKit's modules. Each Fragment has a single module structured by UI components and ViewModel. And below Callback functions are called on the onCreate method.
The functions below are called in order.
After above methods are all called, the created view model tries to authenticate. User authentication completed means the fragment is ready to use. When authentication is complete, the onBeforeReady and onReady methods are called. The ReadyState let you know to determine the result of the authentication. If the ReadyStatus is READY, the current user instance and the channel instance ars available.See also
since 3.0.0
Parameters
<MT>
The specific module type that the fragment that inherits this class wants to use
<VM>
The specific view model type that the fragment that inherits this class wants to use
Functions
Link copied to clipboard
protected abstract fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: MT, @NonNull viewModel: VM)
After authenticate ()} is finished, onReady will be called with the result of authentication and all preparations will be ready to use.
Link copied to clipboard
Called to initialize the module's params or components' params.
Link copied to clipboard
Called to do initial creation of a module.
Link copied to clipboard
open fun onCreateView(@NonNull inflater: LayoutInflater, @Nullable container: ViewGroup, @Nullable savedInstanceState: Bundle): View
Link copied to clipboard
Called to do initial creation of a view model.
Link copied to clipboard
Requests authentication with Sendbird Chat SDK.
Properties
Inheritors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard