Realm - Presentation About RealmRecyclerView & Co

Realm - Presentation About RealmRecyclerView & Co

A brief talk about three libraries that are built on top of Realm.

RealmRecyclerView
RealmSearchView
RealmMapView

Thorben Primke

April 07, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

25 slides
  1. About Myself ➔ Work at Pinterest ➔ Enjoy DIY projects

    ➔ Worked on ◆ Super (Jelly) ◆ FB Messenger + Search ◆ Gowalla
  2. Background ➔ Worked on a new app ➔ Needed data

    to be in sync across screen ➔ In-memory cache + DB ➔ Realm (with @PrimaryKey)
  3. ➔ Uses SwipeRefreshLayout ➔ For example to load newer data

    from network ➔ Requires settings a listener Pull-To-Refresh
  4. Change Animations ➔ OnChange ◆ Only notifies about change ◆

    Maintains list of Realm primaryKey ids ◆ Uses difflib
  5. Empty State ➔ When the RealmResults are empty ➔ Set

    a custom empty view’s layoutResourceId
  6. Options ➔ Swipe to remove ➔ Grid column width Options

    either specified via custom attributes in XML or adapter
  7. RealmSearchView ➔ Input/Search Field ➔ Clear Input Button ➔ Filters

    All Results For Class Based on RealmRecyclerView
  8. RealmMapView ➔ Backed by SupportMapFragment ➔ Uses MapUtils For Clustering

    ➔ Integrate by extending RealmClusterMapFragment

More Decks by Thorben Primke

Other Decks in Programming