public class

ContentLoadingRelativeLayout

extends RelativeLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.RelativeLayout
         ↳ com.pdftron.pdf.widget.ContentLoadingRelativeLayout

Class Overview

A Relative layout for loading content

Summary

[Expand]
Inherited Constants
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
ContentLoadingRelativeLayout(Context context)
ContentLoadingRelativeLayout(Context context, AttributeSet attrs)
ContentLoadingRelativeLayout(Context context, AttributeSet attrs, int defStyle)
Public Methods
void hide(boolean forceHide, boolean animate)
Hide the progress view if it is visible.
void hide(boolean forceHide)
Hide the progress view if it is visible.
void show()
Show the progress view after waiting for a minimum delay.
void show(boolean forceShow, boolean delay, boolean animate)
Show the progress view after waiting for a minimum delay.
[Expand]
Inherited Methods
From class android.widget.RelativeLayout
From class android.view.ViewGroup
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.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public ContentLoadingRelativeLayout (Context context)

public ContentLoadingRelativeLayout (Context context, AttributeSet attrs)

public ContentLoadingRelativeLayout (Context context, AttributeSet attrs, int defStyle)

Public Methods

public void hide (boolean forceHide, boolean animate)

Hide the progress view if it is visible. The progress view will not be hidden until it has been shown for at least a minimum show time. If the progress view was not yet visible, cancels showing the progress view.

Parameters
forceHide Whether force the view to hide
animate Whether start fade out animation when hiding

public void hide (boolean forceHide)

Hide the progress view if it is visible. The progress view will not be hidden until it has been shown for at least a minimum show time. If the progress view was not yet visible, cancels showing the progress view.

Parameters
forceHide Whether force the view to hide

public void show ()

Show the progress view after waiting for a minimum delay. If during that time, hide() is called, the view is never made visible.

public void show (boolean forceShow, boolean delay, boolean animate)

Show the progress view after waiting for a minimum delay. If during that time, hide() is called, the view is never made visible.

Parameters
forceShow Whether to force the view to show instantly.
delay Whether to wait the progress view for a minimum delay.
animate Whether start fade in animation when showing the progress view