style: callback interface methods have become default methods

This commit is contained in:
antonio 2023-06-21 10:48:46 +02:00
parent efc1baa802
commit cb3f1290d1
8 changed files with 35 additions and 38 deletions

View file

@ -1,8 +1,9 @@
package com.cappielloantonio.tempo.interfaces;
import androidx.annotation.Keep;
@Keep
public interface ScanCallback {
void onError(Exception exception);
void onSuccess(boolean isScanning, long count);
default void onError(Exception exception) {}
default void onSuccess(boolean isScanning, long count) {}
}