public class

CheckableRelativeLayout

extends RelativeLayout
implements Checkable
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.RelativeLayout
         ↳ com.pdftron.pdf.widget.CheckableRelativeLayout

Class Overview

This class is used to allow the use of checkable widgets inside ListViews WARNING: Make sure to use this with InertCheckBox/InertRadioButton/InertSwitch or onItemClickListener will not work. WARNING2: This class is not reliable for storing binary data (i.e. don't query it for whether it's checked or not) but instead only use it for visible feedback for the user.

Summary

Nested Classes
interface CheckableRelativeLayout.OnCheckedChangeListener Callback interface to be invoked when the checked state of the layout is changed. 
[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
CheckableRelativeLayout(Context context)
CheckableRelativeLayout(Context context, AttributeSet attrs)
CheckableRelativeLayout(Context context, AttributeSet attrs, int defStyle)
Public Methods
boolean isChecked()
void setChecked(boolean checked)
void setOnCheckedChangeListener(CheckableRelativeLayout.OnCheckedChangeListener listener)
void toggle()
[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
From interface android.widget.Checkable

Public Constructors

public CheckableRelativeLayout (Context context)

public CheckableRelativeLayout (Context context, AttributeSet attrs)

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

Public Methods

public boolean isChecked ()

public void setChecked (boolean checked)

public void setOnCheckedChangeListener (CheckableRelativeLayout.OnCheckedChangeListener listener)

public void toggle ()