1. 28 Jun, 2017 1 commit
    • Silbino Goncalves Matado's avatar
      Smartlist: Add conversations persistence with Realm · 748f3f4a
      Silbino Goncalves Matado authored
      Add conversations persistence to save the history of messages using
      Realm and RxRealm libraries
      
      Refactor models to work with Realm :
      - Change properties declaration as dynamic vars
      - Change Arrays to List
      - Change Dictionaries to Objects
      - Add default values for non-optionals
      - Changed initializers for convenience initializers
      - Fixed Tests compilation using @testable import (classes linked twice
      exception throwed by Realm)
      - Bumped RxSwift version and fixed deprecated methods warning
      
      Change-Id: Ife98e48430740f80ffef9420d857f1ae6e4819d4
      748f3f4a
  2. 27 Jun, 2017 1 commit
    • Silbino Goncalves Matado's avatar
      Smartlist: Add a search bar to filter conversations and lookup users · 5cbb809c
      Silbino Goncalves Matado authored
      Add the search bar on the top of the smartlist and the list of found
      results.
      
      Add an other list for search results. This list is splited in 2
      sections for filered and found results.
      
      Add "No Conversations" label if there is no conversations
      
      If the contact is not found locally, a new conversation is created
      
      Change-Id: I7985f0644f97063875bfb02159d44dd1aa8b731e
      5cbb809c
  3. 21 Jun, 2017 1 commit
    • Silbino Goncalves Matado's avatar
      Messages: Add messages screen to read messages and reply · 37f2ea9b
      Silbino Goncalves Matado authored
      Add MVVM, services and adpater to receive and reply to messages
      
      This allows to read received messages from other users and reply to
      them.
      
      The messages screen uses a TableView that scroll automatically to the
      bottom if the user a new message is received. Messages bubbles are
      made with simple cells with a label that move to the right or the
      left.
      
      Change-Id: I1b6bd6fd36b88daab9d39cb5745d1ed953868ead
      37f2ea9b
  4. 19 Jun, 2017 1 commit