ErrorSupportFragment
open class ErrorSupportFragment : BrandedSupportFragment
kotlin.Any | |||
↳ | androidx.fragment.app.Fragment | ||
↳ | androidx.leanback.app.BrandedSupportFragment | ||
↳ | androidx.leanback.app.ErrorSupportFragment |
A fragment for displaying an error indication.
Summary
Public constructors | |
---|---|
<init>() A fragment for displaying an error indication. |
Public methods | |
---|---|
open Drawable! |
Returns the background drawable. |
open OnClickListener! |
Returns the button click listener. |
open String! |
Returns the button text. |
open Drawable! |
Returns the drawable used for the error image. |
open CharSequence! |
Returns the error message. |
open Boolean |
Returns true if the background is translucent. |
open View? |
onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?) |
open Unit |
onStart() |
open Unit |
setBackgroundDrawable(drawable: Drawable!) Sets a drawable for the fragment background. |
open Unit |
setButtonClickListener(clickListener: OnClickListener!) Set the button click listener. |
open Unit |
setButtonText(text: String!) Sets the button text. |
open Unit |
setDefaultBackground(translucent: Boolean) Sets the default background. |
open Unit |
setImageDrawable(drawable: Drawable!) Sets the drawable to be used for the error image. |
open Unit |
setMessage(message: CharSequence!) Sets the error message. |
Inherited functions | |
---|---|