Save 37% off PRO during our Black Friday Sale! »

Realm meetup #18 (Java)

358791a9c91e7615ffe62c7c6e02e470?s=47 zaki50
August 15, 2016

Realm meetup #18 (Java)

Realm meetup Japan #18

358791a9c91e7615ffe62c7c6e02e470?s=128

zaki50

August 15, 2016
Tweet

Transcript

  1. Realm meetup #18 my@realm.io

  2. #realm_jp my@realm.io

  3. Makoto Yamazaki Realm Inc. / uPhyca Inc. my@realm.io

  4. Recent Updates my@realm.io

  5. Realm Java 1.1.1 (was 1.1.0) my@realm.io

  6. Realm Java 1.1.1(όάϑΟοΫε) • RealmͷΞϊςʔγϣϯΛ࢖༻͢ΔαʔυύʔςΟͷΞϊςʔγϣϯ ϓϩηοα͕ਖ਼͘͠ಈ࡞͢ΔΑ͏ʹमਖ਼ • JNIपΓͷΤϥʔΛमਖ਼ • 1.1.0Ͱಋೖ͞ΕͨinsertܥAPIͷΤϥʔνΣοΫΛڧԽ

    • Blackberry Z10Ͱಈ࡞͠ͳ͍όάΛमਖ਼ • ಺෦Ͱ࢖༻͢ΔϑΝΠϧσΟεΫϦϓλͷ਺Λ࡟ݮ jp@realm.io my@realm.io
  7. Upcoming changes in 1.2.0 my@realm.io

  8. in query (#3133) my@realm.io 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();
  9. BYE BYE finalizer (#3144) my@realm.io finalizerʹΑΔωΠςΟϒϦιʔεͷ։์Λഇࢭ͠ɺ୅ΘΓʹ PhantomReferenceʹΑΔ։์Λ࣮૷͠Α͏ͱ͍͏มߋ େྔͷΦϒδΣΫτ͕࡞੒͞Εͨ৔߹ͷ։์ॲཧ͕ߴ଎Խ͞ΕΔ

  10. byte array query (#3285) my@realm.io 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();
  11. DynamicRealmObject.setList declaration fix(#3290) my@realm.io public void setList(String fieldName, RealmList<? extends

    RealmModel> list) public void setList(String fieldName, RealmList<DynamicRealmObject> list)
  12. Live coding Realm java with Kotlin project my@realm.io https://github.com/zaki50/Realm-Meetup-18-QiitaClient http://bit.ly/RealmMeetup18Kotlin

  13. ௕ᖒ ଠ࿠(@ngsw_taro)ஶ 356ϖʔδ 3,780ԁ my@realm.io

  14. zaki@realm.io ΞϓϦ঺հ(Qiita Client)

  15. zaki@realm.io • ड৴ͨ͠σʔλΛRealmʹอଘ • ParcelableΛ࢖͏୅ΘΓʹIDͰड͚౉͠ • IDΛड͚औͬͨΒRealm͔ΒಡΈࠐΉ मਖ਼ํ਑

  16. zaki@realm.io • Realmͷಋೖ • Ϟσϧఆٛͷมߋ • Realmͷઃఆ • RealmΠϯελϯεͷऔಘ ࡞ۀεςοϓ

    • ड৴ͨ͠σʔλΛRealmʹอଘ • MainActivity͔ΒArticleΛ౉͢෦෼ͷมߋ • ड͚औΔ෦෼ͷमਖ਼ • ͪΐͬͱͨ͠վળ
  17. http://bit.ly/RealmMeetup18Kotlin

  18. http://bit.ly/RealmField jp@realm.io 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
  19. jp@realm.io Javaͷਓ޲͚৘ใ realm.where(Foo.class).equalTo(FooFields.AGE, 20); realm.where(Foo.class).equalTo("age", 20) http://bit.ly/RealmField

  20. Ξϯέʔτͷճ౴Λ͓ئ͍͠·͢ jp@realm.io http://bit.ly/RealmTokyo_18