2015-08-30 00:21:51 +02:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.model;
|
|
|
|
|
2016-03-16 00:14:38 +01:00
|
|
|
import android.os.Parcelable;
|
|
|
|
|
|
|
|
public interface ItemWithDetails extends Parcelable, Comparable<ItemWithDetails> {
|
2015-08-30 00:21:51 +02:00
|
|
|
String getName();
|
2015-09-24 14:45:21 +02:00
|
|
|
|
2015-08-30 00:21:51 +02:00
|
|
|
String getDetails();
|
2015-09-24 14:45:21 +02:00
|
|
|
|
2015-08-30 00:21:51 +02:00
|
|
|
int getIcon();
|
2016-03-16 00:14:38 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Equality is based on #getName() only.
|
2016-03-20 15:00:05 +01:00
|
|
|
*
|
2016-03-16 00:14:38 +01:00
|
|
|
* @param other
|
|
|
|
*/
|
|
|
|
boolean equals(Object other);
|
2015-08-30 00:21:51 +02:00
|
|
|
}
|