All Known Subinterfaces:
DynamicErrorWidget, DynamicLinkWidget, DynamicProgressWidget, DynamicScrollableWidget, DynamicStateSelectedWidget, DynamicStateWidget, DynamicTextWidget, DynamicWidget, WindowInsetsWidget
All Known Implementing Classes:
ColorPalettePreference, DynamicAppBarLayout, DynamicAppThemePreference, DynamicBackgroundView, DynamicBottomAppBar, DynamicBottomNavigationView, DynamicBottomSheet, DynamicButton, DynamicCardView, DynamicCheckBox, DynamicCheckedTextView, DynamicCheckPreference, DynamicChip, DynamicCircularProgressIndicator, DynamicCollapsingToolbarLayout, DynamicColorCompact, DynamicColorMenu, DynamicColorPicker, DynamicColorPreference, DynamicColorView, DynamicCoordinatorLayout, DynamicDayThemePreference, DynamicDivider, DynamicDragIndicator, DynamicDrawerLayout, DynamicEditText, DynamicEmptyView, DynamicEmptyViewBig, DynamicExtendedFloatingActionButton, DynamicFloatingActionButton, DynamicForegroundLinearLayout, DynamicFrameLayout, DynamicGridView, DynamicHeader, DynamicHeaderDialog, DynamicHeaderImageView, DynamicHorizontalScrollView, DynamicHueSeekBar, DynamicHueSlider, DynamicImageButton, DynamicImagePreference, DynamicImageView, DynamicInfoView, DynamicInfoViewBig, DynamicInfoViewBigAuthor, DynamicItemView, DynamicItemViewDialog, DynamicLinearLayout, DynamicLinearLayoutCompat, DynamicLinearProgressIndicator, DynamicListView, DynamicLocalePreference, DynamicMaterialCardView, DynamicMaterialSwitch, DynamicNavigationMenuItemView, DynamicNavigationRailView, DynamicNavigationView, DynamicNestedGridView, DynamicNestedListView, DynamicNestedScrollView, DynamicNightThemePreference, DynamicPopupBackground, DynamicPreference, DynamicProgressBar, DynamicRadioButton, DynamicRangeSlider, DynamicRatingBar, DynamicRecyclerView, DynamicRelativeLayout, DynamicRemoteThemePreference, DynamicRemoteThemePreview, DynamicRootLayout, DynamicScreenPreference, DynamicScrollView, DynamicSeekBar, DynamicSeekBarCompact, DynamicSeekBarHue, DynamicSeekBarPreference, DynamicShadowDivider, DynamicSimplePreference, DynamicSlider, DynamicSliderCompact, DynamicSliderFloat, DynamicSliderHue, DynamicSliderPreference, DynamicSpinner, DynamicSpinnerPreference, DynamicSpinnerView, DynamicSpinnerViewDialog, DynamicSwipeRefreshLayout, DynamicSwitchCompat, DynamicTabLayout, DynamicTextInputEditText, DynamicTextInputLayout, DynamicTextView, DynamicThemePreference, DynamicThemePreview, DynamicThemeVersionPreference, DynamicToastPreference, DynamicToolbar, DynamicView, DynamicViewPager, DynamicViewPager2Layout, ThemeAppShortcutsPreference, ThemeCheckPreference, ThemeNavigationBarPreference, ThemePreference, ThemePreview, ThemeReceiverPreference

public interface BaseWidget
Interface to create base widget and to do the initialization work.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initialize this widget by setting color type.
    void
    Load values from the supplied attribute set.
  • Method Details

    • loadFromAttributes

      void loadFromAttributes(@Nullable AttributeSet attrs)
      Load values from the supplied attribute set.
      Parameters:
      attrs - The supplied attribute set to load the values.
    • initialize

      void initialize()
      Initialize this widget by setting color type. If it is background aware then, background color will also taken into account while setting the color filter.
      See Also: