Commit Graph

442 Commits

Author SHA1 Message Date
Kirill Kamakin 603504f7fe Implement BaseTest 2021-11-13 15:09:37 +03:00
Kirill Kamakin c94fff2864 Remove example tests 2021-11-13 15:09:37 +03:00
Kirill Kamakin c9bf25d5ea Add AuthDataSourceImplTest test 2021-11-13 15:09:37 +03:00
Kirill Kamakin d370823a10 Update test dependencies 2021-11-13 15:09:36 +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 43d66247cb Bump versions of dependencies 2021-11-13 15:09:34 +03:00
Kirill Kamakin 3397880e1c Add links to versions of all dependencies 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 67b75b710d Add dependency on Glide 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 9efd90037c Fix compilation errors due to inconsistencies of external libs 2021-11-13 15:09:32 +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 d0acd4b5ed Add Room, Paging library and navigation ktx 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 3b83aa4e15 Add Preference library dependency 2021-11-13 15:09:29 +03:00
Kirill Kamakin 576584c467 Use kotlinx serialization instead of gson 2021-11-13 15:09:29 +03:00
Kirill Kamakin 543428c0e2 Add Retrofit dependency 2021-11-13 15:09:29 +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 b4db681747 Add navigation component 2021-11-13 15:09:28 +03:00
Kirill Kamakin 900a67e8b4 Enable view binding 2021-11-13 15:09:27 +03:00
Kirill Kamakin d38727f87f Update dependencies 2021-11-13 15:09:27 +03:00
Kirill Kamakin 7b9a756e5a Specify fixed junit version 2021-11-13 15:09:27 +03:00
Kirill Kamakin 8bae6205b9 Initial commit
This commit contains Fragment + ViewModel template from Android Studio
2021-11-13 15:09:26 +03:00