05nelsonm/kmp-tor

Migrate UI `InstanceState` selection functionality to `AbstractTorServiceUI`

05nelsonm opened this issue · 0 comments

Currently all functionality requires implementations to keep track of which InstanceState is currently selected. This refactor would move that functionality to the commonMain source set for all targets, and provide a simple API for the UI implementation to use previous/next buttons which will dispatch an update to the currently selected instance (if available).

Part of #423