lib / com.tingyik90.snackprogressbar / SnackProgressBarLayout
SnackProgressBarLayout
class SnackProgressBarLayout :
LinearLayout
, ContentViewCallback
Layout class for SnackProgressBar.
Types
Name |
Summary |
OnBarTouchListener |
Interface definition for a callback to be invoked when the SnackProgressBar is touched.interface OnBarTouchListener |
Constructors
Properties
Functions
Name |
Summary |
animateContentIn |
Animation as per original Snackbar classfun animateContentIn(delay: Int , duration: Int ): Unit |
animateContentOut |
Animation as per original Snackbar classfun animateContentOut(delay: Int , duration: Int ): Unit |
onAttachedToWindow |
onAttachedToWindowfun onAttachedToWindow(): Unit |
onMeasure |
onMeasure for determining actionNextLine and message heightfun onMeasure(widthMeasureSpec: Int , heightMeasureSpec: Int ): Unit |
onSizeChanged |
Animation for when updateTo() is called by SnackProgressBarManager and size changedfun onSizeChanged(w: Int , h: Int , oldW: Int , oldH: Int ): Unit |
useRoundedCornerBackground |
Sets whether to use rounded corner background for SnackProgressBar according to new Material Design. Note that the background cannot be changed after being shown.fun useRoundedCornerBackground(useRoundedCornerBackground: Boolean ): Unit |