Slide 1

Slide 1 text

Realm meetup #18 [email protected]

Slide 2

Slide 2 text

#realm_jp [email protected]

Slide 3

Slide 3 text

Makoto Yamazaki Realm Inc. / uPhyca Inc. [email protected]

Slide 4

Slide 4 text

Recent Updates [email protected]

Slide 5

Slide 5 text

Realm Java 1.1.1 (was 1.1.0) [email protected]

Slide 6

Slide 6 text

Realm Java 1.1.1(όάϑΟοΫε) • RealmͷΞϊςʔγϣϯΛ࢖༻͢ΔαʔυύʔςΟͷΞϊςʔγϣϯ ϓϩηοα͕ਖ਼͘͠ಈ࡞͢ΔΑ͏ʹमਖ਼ • JNIपΓͷΤϥʔΛमਖ਼ • 1.1.0Ͱಋೖ͞ΕͨinsertܥAPIͷΤϥʔνΣοΫΛڧԽ • Blackberry Z10Ͱಈ࡞͠ͳ͍όάΛमਖ਼ • ಺෦Ͱ࢖༻͢ΔϑΝΠϧσΟεΫϦϓλͷ਺Λ࡟ݮ [email protected] [email protected]

Slide 7

Slide 7 text

Upcoming changes in 1.2.0 [email protected]

Slide 8

Slide 8 text

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();

Slide 9

Slide 9 text

BYE BYE finalizer (#3144) [email protected] finalizerʹΑΔωΠςΟϒϦιʔεͷ։์Λഇࢭ͠ɺ୅ΘΓʹ PhantomReferenceʹΑΔ։์Λ࣮૷͠Α͏ͱ͍͏มߋ େྔͷΦϒδΣΫτ͕࡞੒͞Εͨ৔߹ͷ։์ॲཧ͕ߴ଎Խ͞ΕΔ

Slide 10

Slide 10 text

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();

Slide 11

Slide 11 text

DynamicRealmObject.setList declaration fix(#3290) [email protected] public void setList(String fieldName, RealmList list) public void setList(String fieldName, RealmList list)

Slide 12

Slide 12 text

Live coding Realm java with Kotlin project [email protected] https://github.com/zaki50/Realm-Meetup-18-QiitaClient http://bit.ly/RealmMeetup18Kotlin

Slide 13

Slide 13 text

௕ᖒ ଠ࿠(@ngsw_taro)ஶ 356ϖʔδ 3,780ԁ [email protected]

Slide 14

Slide 14 text

[email protected] ΞϓϦ঺հ(Qiita Client)

Slide 15

Slide 15 text

[email protected] • ड৴ͨ͠σʔλΛRealmʹอଘ • ParcelableΛ࢖͏୅ΘΓʹIDͰड͚౉͠ • IDΛड͚औͬͨΒRealm͔ΒಡΈࠐΉ मਖ਼ํ਑

Slide 16

Slide 16 text

[email protected] • Realmͷಋೖ • Ϟσϧఆٛͷมߋ • Realmͷઃఆ • RealmΠϯελϯεͷऔಘ ࡞ۀεςοϓ • ड৴ͨ͠σʔλΛRealmʹอଘ • MainActivity͔ΒArticleΛ౉͢෦෼ͷมߋ • ड͚औΔ෦෼ͷमਖ਼ • ͪΐͬͱͨ͠վળ

Slide 17

Slide 17 text

http://bit.ly/RealmMeetup18Kotlin

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

[email protected] Javaͷਓ޲͚৘ใ realm.where(Foo.class).equalTo(FooFields.AGE, 20); realm.where(Foo.class).equalTo("age", 20) http://bit.ly/RealmField

Slide 20

Slide 20 text

Ξϯέʔτͷճ౴Λ͓ئ͍͠·͢ [email protected] http://bit.ly/RealmTokyo_18