Skip to content
Snippets Groups Projects
  1. Oct 25, 2016
  2. Oct 21, 2016
    • akwizgran's avatar
      Merge branch '705-adapter-revisions' into 'master' · df44015c
      akwizgran authored
      Fix race conditions when updating UI from events (again)
      
      This is my second attempt at fixing race conditions caused by updating the UI from events while background tasks are loading data from the DB. Unlike my first attempt, this one is pretty simple and doesn't require too much reasoning about possible races.
      
      The first commit fixes a few list loading bugs I found while working on this problem, and moves the lifecycle callbacks from resume/pause to start/stop, closing #609. The second commit contains the fix for #705, which works as follows:
      
      * Each BriarAdapter has a revision counter
      * Before making a change to the adapter that could be overwritten by a background task, increment the revision
      * Before starting a background task that could overwrite other changes, get the current revision
      * Before applying changes from a background task that could overwrite other changes, check whether the revision has changed
      * If the revision has changed, restart the background task
      * Otherwise apply the changes
      
      Closes #609. #705 remains open because the PagerAdapters for blogs need to be updated.
      
      See merge request !356
      df44015c
  3. Oct 20, 2016
  4. Oct 19, 2016
  5. Oct 14, 2016
  6. Oct 12, 2016
  7. Oct 11, 2016
    • akwizgran's avatar
      Use constructor injection for controllers. · 2b91631b
      akwizgran authored
      Also made some listeners volatile.
      2b91631b
    • akwizgran's avatar
      Merge branch '660-implement-ux-for-the-list-of-private-groups' into 'master' · b3271222
      akwizgran authored
      Private Group List UI
      
      This MR implements the UI for the list of private groups.
      
      It reacts to three types of events to refresh the displayed data:
      * new group message received
      * private group added
      * private group removed
      
      Missing from final implementation:
      * entering groups
      * adding new groups
      * reacting to a future group dissolved event
      * actually removing a dissolved group
      
      ![device-2016-09-29-180741](/uploads/666f04e8c9e2c81bdfe7f5648c14e71d/device-2016-09-29-180741.png)
      ![device-2016-10-03-141200](/uploads/5d0a54ea5a31d64404591c03ccf1e3b6/device-2016-10-03-141200.png)
      ![groups](/uploads/3eba757e21837739a129aab15100c06a/groups.gif)
      
      Closes #660
      
      See merge request !335
      b3271222
    • akwizgran's avatar
      Merge branch '676-keyboard-isn-t-shown-when-forum-text-entry-field-gets-focus' into 'master' · 0b3ec9aa
      akwizgran authored
      Always show the keyboard when asked for it
      
      The main fix is maintaining the internal keyboard state when the entire view gets hidden, because `onMeasure()` isn't called anymore in that case and can't update it itself.
      
      Closes #676
      
      See merge request !348
      0b3ec9aa
  8. Oct 10, 2016
Loading