public class DeviceHandlers extends BaseHandlers
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
TAG |
Constructor and Description |
---|
DeviceHandlers(java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
onFabClick(DevicesViewModel vm,
com.google.android.material.floatingactionbutton.FloatingActionButton fab)
Click on fab button
|
void |
onForgetClick(android.content.Context context,
DeviceViewModel vm)
Click on forget button of a device
|
onClick, showConfirmationDialog
public void onFabClick(DevicesViewModel vm, com.google.android.material.floatingactionbutton.FloatingActionButton fab)
fab
- The Viewpublic void onForgetClick(android.content.Context context, DeviceViewModel vm)
context
- A contextvm
- Our viewmodel