KotlinLeaner
03/28/2023, 4:07 PMLogin
and Logout
code.
1. Should I used this inside viewmodel
or somewhere else?
2. Which layer is domain
or data
layer should I used?KotlinLeaner
03/28/2023, 4:09 PMdewildte
03/28/2023, 4:51 PMlogin
is often in it’s own module as it is generally a very complex part of the application.
Many times you will see it have multiple screens and complex flows.
I personally suggest treating it this way, kind of like a small application within the application.KotlinLeaner
03/28/2023, 5:15 PMlogin
inside my application/project. Which class should I used for my code i.e. viewModel or just simple class for logic ?Colton Idle
03/29/2023, 2:58 AMKotlinLeaner
03/29/2023, 10:54 AMdewildte
03/29/2023, 2:19 PMdewildte
03/29/2023, 2:21 PMdewildte
03/29/2023, 2:21 PMKotlinLeaner
03/29/2023, 2:23 PMKotlinLeaner
03/29/2023, 2:23 PMColton Idle
03/29/2023, 3:26 PMdewildte
03/29/2023, 3:34 PMColton Idle
03/29/2023, 3:35 PMColton Idle
03/29/2023, 3:36 PMColton Idle
03/29/2023, 3:36 PMKotlinLeaner
03/29/2023, 3:44 PMcurioustechizen
03/31/2023, 5:47 AMKotlinLeaner
03/31/2023, 8:03 AMColton Idle
04/01/2023, 7:47 PM