Commit Graph

96 Commits

Author SHA1 Message Date
Kirill Kamakin
c3cc48e911 Update diff callback logic 2021-11-15 19:43:30 +03:00
Kirill Kamakin
9da3c44d40 Support showing placeholders in recipe view holders 2021-11-15 19:43:30 +03:00
Kirill Kamakin
96d337e7a1 Fit image 2021-11-15 19:43:30 +03:00
Kirill Kamakin
37e89d0c2b Allow loading images from null urls with Glide 2021-11-15 19:43:30 +03:00
Kirill Kamakin
e2050f3f28 Fix attempts to load images with null slug 2021-11-15 19:43:30 +03:00
Kirill Kamakin
99c5d24a98 Extract recipe view holder to separate file 2021-11-15 19:43:29 +03:00
Kirill Kamakin
5040582fdf Remove excessive logging 2021-11-15 19:38:39 +03:00
Kirill Kamakin
9401539ee9 Reduce amount of logged info 2021-11-15 19:38:39 +03:00
Kirill Kamakin
7e1576e8f6 Implement logout feature 2021-11-14 11:51:31 +03:00
Kirill Kamakin
670dcbccc8 Fix showing logout option by default 2021-11-14 10:46:17 +03:00
Kirill Kamakin
07484113d5 Implement showing logout menu option 2021-11-14 10:39:25 +03:00
Kirill Kamakin
641106260d Add more verbose logging 2021-11-14 10:34:54 +03:00
Kirill Kamakin
698d93b351 Implement observing authentication statuses 2021-11-14 10:27:45 +03:00
Kirill Kamakin
1a136b6ade Replace action bar with material toolbar 2021-11-14 09:41:30 +03:00
Kirill Kamakin
e097d6c690 Add queryAllCategoryRecipes and queryAllTagRecipes for tests 2021-11-13 20:46:12 +03:00
Kirill Kamakin
12ebf8d968 Add queryAllRecipes method useful in tests 2021-11-13 19:25:29 +03:00
Kirill Kamakin
0ff9afa4c6 Add OkHttpBuilder tests 2021-11-13 19:03:13 +03:00
Kirill Kamakin
c5e116549d Do not add logging interceptor to release builds 2021-11-13 15:12:09 +00:00
Kirill Kamakin
dd74715818 Use SingletonComponent everywhere to make it easier to test 2021-11-13 17:38:46 +03:00
Kirill Kamakin
740dd12f3b Enable lint rules and fix found issues 2021-11-13 16:46:00 +03:00
Kirill Kamakin
dc518555e8 Fix logging reference to PagingData 2021-11-13 15:09:39 +03:00
Kirill Kamakin
31fc27ebef Fix parsing of null descriptions 2021-11-13 15:09:39 +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
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
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