我將如何實現在境界的Java這樣的人在這個問題問過類似的查詢: how do I query sql for a latest record date for each user 原因似乎境界的方法獲取查詢境界查詢爲每個用戶
這裏的時候缺少一組我RealmObject:
public class Memo extends RealmObject {
@Ignore
public static final int SENT = 1;
@Ignore
public static final int UNREAD = 2;
@Ignore
public static final int READ = 3;
@Ignore
public static final int PENDING = 4;
private static final String TAG = Memo.class.getName();
@PrimaryKey
public String id = "";
@Index
public String connection = "";
public String subject = "";
public String body = "";
public int status = 0;
public Date date;
public Boolean sentByMe = false;
public String remoteId = "";
public Boolean isFile = false;
public String filepath = "";
}
這表示用戶:
public String connection
我需要知道你有這個日期的RealmObjects和這個問題的用戶。 – EpicPandaForce
我已經添加了realmobject – Michael