diff options
Diffstat (limited to 'src/com/android/deskclock/FabController.java')
-rw-r--r-- | src/com/android/deskclock/FabController.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/android/deskclock/FabController.java b/src/com/android/deskclock/FabController.java index 11c5d5375..8a121bf87 100644 --- a/src/com/android/deskclock/FabController.java +++ b/src/com/android/deskclock/FabController.java @@ -2,7 +2,6 @@ package com.android.deskclock; import androidx.annotation.NonNull; import android.view.View; -import android.widget.Button; import android.widget.ImageView; /** @@ -35,7 +34,7 @@ public interface FabController { * @param left button to the left of the fab to configure based on current state * @param right button to the right of the fab to configure based on current state */ - void onUpdateFabButtons(@NonNull Button left, @NonNull Button right); + void onUpdateFabButtons(@NonNull ImageView left, @NonNull ImageView right); /** * Handles a click on the fab. @@ -49,14 +48,14 @@ public interface FabController { * * @param left the button to the left of the fab component */ - void onLeftButtonClick(@NonNull Button left); + void onLeftButtonClick(@NonNull ImageView left); /** * Handles a click on the button to the right of the fab component. * * @param right the button to the right of the fab component */ - void onRightButtonClick(@NonNull Button right); + void onRightButtonClick(@NonNull ImageView right); /** * |