mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-11 00:36:32 +02: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);
|
|
}
|