public class

NoDataMoment

extends View
java.lang.Object
   ↳ android.view.View
     ↳ com.sap.cloud.mobile.fiori.moments.NoDataMoment

Summary

[Expand]
Inherited Constants
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
NoDataMoment(Context context)
NoDataMoment(Context context, AttributeSet attrs)
NoDataMoment(Context context, AttributeSet attrs, int defStyleAttr)
NoDataMoment(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Protected Methods
void onDraw(Canvas canvas)
Draws the no data layout
void onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
[Expand]
Inherited Methods
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public NoDataMoment (Context context)

public NoDataMoment (Context context, AttributeSet attrs)

public NoDataMoment (Context context, AttributeSet attrs, int defStyleAttr)

public NoDataMoment (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Protected Methods

protected void onDraw (Canvas canvas)

Draws the no data layout

Parameters
canvas canvas to be used

protected void onSizeChanged (int w, int h, int oldw, int oldh)

This is called during layout when the size of this view has changed. If you were just added to the view hierarchy, you're called with the old values of 0.

Parameters
w Current width of this view.
h Current height of this view.
oldw Old width of this view.
oldh Old height of this view.