diff options
Diffstat (limited to 'app/src/main/java/com/wireguard')
-rw-r--r-- | app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java index 116b40cb..ea84bd8e 100644 --- a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java +++ b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java @@ -13,6 +13,7 @@ import com.wireguard.android.R; import com.wireguard.android.util.Keyed; import com.wireguard.android.util.KeyedObservableList; import com.wireguard.android.widget.ToggleSwitch; +import com.wireguard.android.widget.ToggleSwitch.OnBeforeCheckedChangeListener; import org.threeten.bp.Instant; import org.threeten.bp.ZoneId; @@ -92,8 +93,7 @@ public final class BindingAdapters { @BindingAdapter({"onBeforeCheckedChanged"}) public static void setOnBeforeCheckedChanged(final ToggleSwitch view, - final ToggleSwitch.OnBeforeCheckedChangeListener - listener) { + final OnBeforeCheckedChangeListener listener) { view.setOnBeforeCheckedChangeListener(listener); } |