Class DynamicEmptyView

All Implemented Interfaces:
Drawable.Callback, AccessibilityEventSource, KeyEvent.Callback, ViewManager, ViewParent, BaseWidget, DynamicTintWidget, DynamicWidget
Direct Known Subclasses:
DynamicEmptyViewBig

public class DynamicEmptyView extends DynamicItemView
A DynamicItemView to provide the empty view with an icon, title and subtitle.
  • Constructor Details

  • Method Details

    • getLayoutRes

      @LayoutRes protected int getLayoutRes()
      Description copied from class: DynamicView
      This method will be called to get the layout resource for this view.

      Supply the view layout resource here to do the inflation.

      Overrides:
      getLayoutRes in class DynamicItemView
      Returns:
      The layout resource for this view.
    • onInflate

      protected void onInflate()
      Description copied from class: DynamicView
      This method will be called after loading the attributed.

      Initialize the view layout here.

      Overrides:
      onInflate in class DynamicItemView