Skip to content

Revamp CustomDevicesActivity

Summary

Modernize CustomDevicesActivity by:

  • Using a RecyclerView instead of the deprecated ListView
  • Adding a FloatingActionButton allow adding device entries
  • Show a Dialog to handle the actual hostname/ip-address entry
  • Allow editing of already existing custom devices
  • Allow devices to be deleted by swiping them to the left or right
  • Allow the last deleted device to be recovered using a Snackbar
Before After
Screenshot_1549913227 Screenshot_1549912961 Screenshot_1549912971 Screenshot_20190210_190316 Screenshot_1549912992

Test Plan

Install patch and verify that all the above functionality works as expected

Edited by Erik Duisters

Merge request reports