Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Realm meetup #18 (Java)

zaki50
August 15, 2016

Realm meetup #18 (Java)

Realm meetup Japan #18

zaki50

August 15, 2016
Tweet

More Decks by zaki50

Other Decks in Technology

Transcript

  1. in query (#3133) [email protected] void RealmQuery.in(String, String[]) void RealmQuery.in(String, String[],

    Case) void RealmQuery.in(String, Byte[]) void RealmQuery.in(String, Short[]) void RealmQuery.in(String, Integer[]) void RealmQuery.in(String, Long[]) void RealmQuery.in(String, Float[]) void RealmQuery.in(String, Double[]) void RealmQuery.in(String, Boolean[]) void RealmQuery.in(String, Date[]) realm.where(AllTypes.class) .in(“value”, new String[]{"value1", “value2"}) .findAll();
  2. byte array query (#3285) [email protected] void RealmQuery.equalTo(String, byte[]) void RealmQuery.notEqualTo(String,

    byte[]) void RealmQuery.contains(String, byte[]) void RealmQuery.beginsWith(String, byte[]) void RealmQuery.endsWith(String, byte[]) realm.where(AllTypes.class) .contains(“data”, "realm".getBytes("UTF-8")) .findAll();
  3. DynamicRealmObject.setList declaration fix(#3290) [email protected] public void setList(String fieldName, RealmList<? extends

    RealmModel> list) public void setList(String fieldName, RealmList<DynamicRealmObject> list)
  4. [email protected] • Realmͷಋೖ • Ϟσϧఆٛͷมߋ • Realmͷઃఆ • RealmΠϯελϯεͷऔಘ ࡞ۀεςοϓ

    • ड৴ͨ͠σʔλΛRealmʹอଘ • MainActivity͔ΒArticleΛ౉͢෦෼ͷมߋ • ड͚औΔ෦෼ͷमਖ਼ • ͪΐͬͱͨ͠վળ
  5. http://bit.ly/RealmField [email protected] public class Foo extends RealmObject {
 public int

    age;
 public String name;
 } public final class FooFields {
 public static final String AGE = "age";
 public static final String NAME = "name";
 } Javaͷਓ޲͚৘ใ https://github.com/cmelchior/realmfieldnameshelper