Commit Graph

427 Commits

Author SHA1 Message Date
Kirill Kamakin c9bf25d5ea Add AuthDataSourceImplTest test 2021-11-13 15:09:37 +03:00
Kirill Kamakin 12e1fe4939 Mark Hilt modules as interfaces which they are 2021-11-13 15:09:36 +03:00
Kirill Kamakin cb495aaba3 Use more concise runCatching instead of Result 2021-11-13 15:09:36 +03:00
Kirill Kamakin 10b3dadc3d Remove auth state Toasts 2021-11-13 15:09:36 +03:00
Kirill Kamakin 2d6071f05e Implement generation of Glide APIs 2021-11-13 15:09:35 +03:00
Kirill Kamakin 0e41b612f6 Add logging to RecipesFragment 2021-11-13 15:09:35 +03:00
Kirill Kamakin 7ec2376138 Move implementations to impl packages 2021-11-13 15:09:35 +03:00
Kirill Kamakin c081edbbbf Extract RecipeImageLoader interface 2021-11-13 15:09:35 +03:00
Kirill Kamakin c22c544297 Extract ImageLoader interface 2021-11-13 15:09:34 +03:00
Kirill Kamakin 3d7048a381 Forget we were on auth screen after it's gone 2021-11-13 15:09:34 +03:00
Kirill Kamakin 407a73d444 Implement showing recipe pictures in the list 2021-11-13 15:09:33 +03:00
Kirill Kamakin 65548cb397 Fix requesting recipe summary errors due to time types 2021-11-13 15:09:33 +03:00
Kirill Kamakin 14ddd1ed55 Fix error logging with Timber 2021-11-13 15:09:33 +03:00
Kirill Kamakin 12e7096c17 Add more verbose logging 2021-11-13 15:09:33 +03:00
Kirill Kamakin 470d5a4aef Initialize RecipesFragment 2021-11-13 15:09:32 +03:00
Kirill Kamakin 39bac99e16 Fix Log -> Timber transition leftovers 2021-11-13 15:09:32 +03:00
Kirill Kamakin ef5f1def51 Allow reading base url and token 2021-11-13 15:09:31 +03:00
Kirill Kamakin f5ee40d945 Store base url too 2021-11-13 15:09:31 +03:00
Kirill Kamakin ae74dac851 Set tag for OkHttp logs 2021-11-13 15:09:31 +03:00
Kirill Kamakin 9afc7bdcd3 Add OkHttp logging interceptor 2021-11-13 15:09:30 +03:00
Kirill Kamakin 3ce822e373 Fix MediaType construction 2021-11-13 15:09:30 +03:00
Kirill Kamakin daa8006e4e Add logging with Timber 2021-11-13 15:09:30 +03:00
Kirill Kamakin b0a53b5991 Implement initial authentication flow 2021-11-13 15:09:30 +03:00
Kirill Kamakin d279d70735 Specify that everything should be backed up explicitly 2021-11-13 15:09:29 +03:00
Kirill Kamakin 5d937e6d9e Add Dagger Hilt 2021-11-13 15:09:28 +03:00
Kirill Kamakin 645b676cdf Initialize navigation with AuthenticationFragment
Also remove unused MainFragment-related code
2021-11-13 15:09:28 +03:00
Kirill Kamakin 8bae6205b9 Initial commit
This commit contains Fragment + ViewModel template from Android Studio
2021-11-13 15:09:26 +03:00