Skip to content
Snippets Groups Projects
Commit 52989770 authored by akwizgran's avatar akwizgran
Browse files

Refactored invitation code to allow the UI to save & restore its state.

Android UI elements can be destroyed and recreated at any time, and they
can only store serialisable state, so references to long-running tasks
have to take the form of serialisable handles. This is pretty ugly -
it's easy to create memory leaks if you don't clean up stale
handle/reference mappings - but it's less ugly than the common solution
of using static variables to hold references.
parent 3e8c6081
Loading
Showing
with 510 additions and 232 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment