class LoginDetailInteractor( private val savedLoginsController: SavedLoginsStorageController, ) { fun onFetchLoginList(loginId: String) { savedLoginsController.fetchLoginDetails(loginId) } fun onDeleteLogin(loginId: String) { savedLoginsController.delete(loginId) } }
Interactor for the login detail screen