Public Member Functions | Protected Member Functions | Private Member Functions
com.introlab.rtabmap.CustomSwitchPreference Class Reference
Inheritance diagram for com.introlab.rtabmap.CustomSwitchPreference:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CustomSwitchPreference (Context context, AttributeSet attrs, int defStyle)
 CustomSwitchPreference (Context context, AttributeSet attrs)
 CustomSwitchPreference (Context context)

Protected Member Functions

void onBindView (View view)

Private Member Functions

void clearListenerInViewGroup (ViewGroup viewGroup)

Detailed Description

Author:
mathieu Bug fix of switch preferences changing states when scrolling on Jelly Bean: https://issuetracker.google.com/issues/36941388#comment4

Definition at line 18 of file CustomSwitchPreference.java.


Constructor & Destructor Documentation

com.introlab.rtabmap.CustomSwitchPreference.CustomSwitchPreference ( Context  context,
AttributeSet  attrs,
int  defStyle 
) [inline]

Construct a new SwitchPreference with the given style options.

Parameters:
contextThe Context that will style this preference
attrsStyle attributes that differ from the default
defStyleTheme attribute defining the default style options

Definition at line 27 of file CustomSwitchPreference.java.

com.introlab.rtabmap.CustomSwitchPreference.CustomSwitchPreference ( Context  context,
AttributeSet  attrs 
) [inline]

Construct a new SwitchPreference with the given style options.

Parameters:
contextThe Context that will style this preference
attrsStyle attributes that differ from the default

Definition at line 37 of file CustomSwitchPreference.java.

Construct a new SwitchPreference with default style options.

Parameters:
contextThe Context that will style this preference

Definition at line 46 of file CustomSwitchPreference.java.


Member Function Documentation

void com.introlab.rtabmap.CustomSwitchPreference.clearListenerInViewGroup ( ViewGroup  viewGroup) [inline, private]

Clear listener in Switch for specify ViewGroup.

Parameters:
viewGroupThe ViewGroup that will need to clear the listener.

Definition at line 63 of file CustomSwitchPreference.java.

void com.introlab.rtabmap.CustomSwitchPreference.onBindView ( View  view) [inline, protected]

Definition at line 51 of file CustomSwitchPreference.java.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:40