mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 10:31:03 +01:00
19 lines
360 B
Java
19 lines
360 B
Java
package nodomain.freeyourgadget.gadgetbridge.model;
|
|
|
|
import android.os.Parcelable;
|
|
|
|
public interface ItemWithDetails extends Parcelable, Comparable<ItemWithDetails> {
|
|
String getName();
|
|
|
|
String getDetails();
|
|
|
|
int getIcon();
|
|
|
|
/**
|
|
* Equality is based on #getName() only.
|
|
*
|
|
* @param other
|
|
*/
|
|
boolean equals(Object other);
|
|
}
|