- 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.
◆ CustomSwitchPreference() [1/3]
com.introlab.rtabmap.CustomSwitchPreference.CustomSwitchPreference |
( |
Context |
context, |
|
|
AttributeSet |
attrs, |
|
|
int |
defStyle |
|
) |
| |
|
inline |
Construct a new SwitchPreference with the given style options.
- Parameters
-
context | The Context that will style this preference |
attrs | Style attributes that differ from the default |
defStyle | Theme attribute defining the default style options |
Definition at line 27 of file CustomSwitchPreference.java.
◆ CustomSwitchPreference() [2/3]
com.introlab.rtabmap.CustomSwitchPreference.CustomSwitchPreference |
( |
Context |
context, |
|
|
AttributeSet |
attrs |
|
) |
| |
|
inline |
Construct a new SwitchPreference with the given style options.
- Parameters
-
context | The Context that will style this preference |
attrs | Style attributes that differ from the default |
Definition at line 37 of file CustomSwitchPreference.java.
◆ CustomSwitchPreference() [3/3]
com.introlab.rtabmap.CustomSwitchPreference.CustomSwitchPreference |
( |
Context |
context | ) |
|
|
inline |
Construct a new SwitchPreference with default style options.
- Parameters
-
context | The Context that will style this preference |
Definition at line 46 of file CustomSwitchPreference.java.
◆ clearListenerInViewGroup()
void com.introlab.rtabmap.CustomSwitchPreference.clearListenerInViewGroup |
( |
ViewGroup |
viewGroup | ) |
|
|
inlineprivate |
Clear listener in Switch for specify ViewGroup.
- Parameters
-
viewGroup | The ViewGroup that will need to clear the listener. |
Definition at line 63 of file CustomSwitchPreference.java.
◆ onBindView()
void com.introlab.rtabmap.CustomSwitchPreference.onBindView |
( |
View |
view | ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: