MessageCenterListFragment

open class MessageCenterListFragment @JvmOverloads constructor(@LayoutRes contentLayoutId: Int = R.layout.ua_fragment_message_center_list) : MessageListFragment(source)

A MessageListFragment with a toolbar, used by MessageCenterFragment.

Constructors

Link copied to clipboard
constructor(@LayoutRes contentLayoutId: Int = R.layout.ua_fragment_message_center_list)

Properties

Link copied to clipboard

The Toolbar for the message list, or null if not yet inflated.

Inherited properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val context: Context?
Link copied to clipboard
Link copied to clipboard
open var exitTransition: Any?
Link copied to clipboard
Link copied to clipboard
val host: Any?
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Flag that controls whether the list is in editing mode.

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

The MessageListView, or null if the view has not yet been inflated.

Link copied to clipboard
Link copied to clipboard

Listener for edit mode changes.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Optional Predicate to filter messages.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tag: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val view: View?
Link copied to clipboard
Link copied to clipboard

The message list ViewModel.

Link copied to clipboard

Functions

Link copied to clipboard
protected open override fun onEditModeChanged(isEditing: Boolean)

May be overridden in subclasses to handle edit mode changes.

Link copied to clipboard
open override fun onGetLayoutInflater(savedInstanceState: Bundle?): LayoutInflater
Link copied to clipboard
open override fun onStop()
Link copied to clipboard
open override fun onViewCreated(view: View, savedInstanceState: Bundle?)
Link copied to clipboard
protected fun setupToolbar(toolbar: Toolbar)

Sets up the message list toolbar.

Inherited functions

Link copied to clipboard

Clears the highlighted message.

Link copied to clipboard

Deletes all messages in the list.

Link copied to clipboard
open fun dump(@NonNull prefix: String, @Nullable fd: FileDescriptor?, @NonNull writer: PrintWriter, @Nullable args: Array<out String?>??)
Link copied to clipboard
fun getString(@StringRes resId: Int, @Nullable vararg formatArgs: Any?): String
Link copied to clipboard
Link copied to clipboard

Marks all messages in the list as read.

Link copied to clipboard
open fun onActivityCreated(@Nullable savedInstanceState: Bundle?)
Link copied to clipboard
open fun onActivityResult(requestCode: Int, resultCode: Int, @Nullable data: Intent?)
Link copied to clipboard
Link copied to clipboard
open fun onAttachFragment(@NonNull childFragment: Fragment)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onCreate(@Nullable savedInstanceState: Bundle?)
Link copied to clipboard
open fun onCreateAnimation(transit: Int, enter: Boolean, nextAnim: Int): Animation?
Link copied to clipboard
open fun onCreateAnimator(transit: Int, enter: Boolean, nextAnim: Int): Animator?
Link copied to clipboard
Link copied to clipboard
open fun onCreateView(@NonNull inflater: LayoutInflater, @Nullable container: ViewGroup?, @Nullable savedInstanceState: Bundle?): View?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onInflate(@NonNull activity: Activity, @NonNull attrs: AttributeSet, @Nullable savedInstanceState: Bundle?)
open fun onInflate(@NonNull context: Context, @NonNull attrs: AttributeSet, @Nullable savedInstanceState: Bundle?)
Link copied to clipboard
Link copied to clipboard
open fun onMultiWindowModeChanged(isInMultiWindowMode: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun onPrimaryNavigationFragmentChanged(isPrimaryNavigationFragment: Boolean)
Link copied to clipboard
open fun onRequestPermissionsResult(requestCode: Int, @NonNull permissions: Array<out String?>, @NonNull grantResults: IntArray)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onViewStateRestored(@Nullable savedInstanceState: Bundle?)
Link copied to clipboard
Link copied to clipboard
fun refresh(onRefreshed: () -> Unit = {})

Refreshes the message list, with an optional onRefreshed callback.

Link copied to clipboard
Link copied to clipboard
fun requestPermissions(@NonNull permissions: Array<out String?>, requestCode: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHasOptionsMenu(hasMenu: Boolean)
Link copied to clipboard
fun setHighlighted(messageId: String)

Sets the highlighted message.

Link copied to clipboard
Link copied to clipboard
open fun setMenuVisibility(menuVisible: Boolean)
Link copied to clipboard
open fun setTargetFragment(@Nullable fragment: Fragment?, requestCode: Int)
Link copied to clipboard
open fun startActivity(@NonNull intent: Intent)
open fun startActivity(@NonNull intent: Intent, @Nullable options: Bundle?)
Link copied to clipboard
open fun startActivityForResult(@NonNull intent: Intent, requestCode: Int)
open fun startActivityForResult(@NonNull intent: Intent, requestCode: Int, @Nullable options: Bundle?)
Link copied to clipboard
open fun startIntentSenderForResult(@NonNull intent: IntentSender, requestCode: Int, @Nullable fillInIntent: Intent?, flagsMask: Int, flagsValues: Int, extraFlags: Int, @Nullable options: Bundle?)
Link copied to clipboard
Link copied to clipboard