Skip to content

Introduce ViewModel for IntroductionActivity (and ContactChooserFragment)

Sebastian requested to merge 1871-viewmodel-for-introduction into master

Test instructions:

  1. Check that contact list used displays correctly
    • Go into a conversation
    • menu → make introduction
    • check that list does not contain the contact you're introducing
  2. Check that contact list used updates properly
    • On some device (A) repeat steps from 1.
    • While the contact selection list is open: use a different device (B) and sent a message to (A). Make sure the number of unread messages displayed on (A) updates and also the contact moves up to the top as it now is the contact with the last recent message
  3. Check that selecting a contact works
    • Repeat steps from 1.
    • select a contact and check that the next screen show the expected contacts
  4. Make sure going back to contact selection and repeatedly selecting contacts works as expected
    • Repeat steps from 3.
    • Navigate back to the list of contacts to introduce your contact to
    • Select a different contact than before, check that the next screen show the contact selected the second time
    • Just to be sure, try again with a third contact
  5. Check screen rotation doesn't break anything
    • Repeat steps from 4.
    • During navigation, rotate device at different times during the process
Edited by Sebastian

Merge request reports