Commit Graph

31 Commits

Author SHA1 Message Date
Kirill Kamakin
cc5c9edb1f Refactor RecipesFragment
This commit extracts SwipeRefreshLayout extension to a
separate file. Additionally, it refactors RecipesFragment in
order to move all the logic to the ViewModel from the View.
2021-11-27 00:22:52 +03:00
Kirill Kamakin
7ecad55a60 Update recipe view holder ellipsize params 2021-11-25 20:18:21 +03:00
Kirill Kamakin
0d3dfeebd9 Use rounded corners for recipe view holder 2021-11-25 20:15:01 +03:00
Kirill Kamakin
e701b5d7df Show recipe info in bottom sheet dialog 2021-11-25 20:06:53 +03:00
Kirill Kamakin
6c41c4fcf6 Use center crop for recipe images 2021-11-25 19:34:31 +03:00
Kirill Kamakin
5070f975c4 Use placeholder_recipe in layout designer 2021-11-25 19:07:49 +03:00
Kirill Kamakin
d2032380c7 Extract corner radius dimension 2021-11-25 19:06:46 +03:00
Kirill Kamakin
cf9bd407a4 Add new splash fragment image 2021-11-23 22:15:48 +03:00
Kirill Kamakin
6e92d6a233 Improve disclaimer fragment layout 2021-11-23 22:07:26 +03:00
Kirill Kamakin
54753f6ee9 Improve view holder recipe layout 2021-11-23 20:17:24 +03:00
Kirill Kamakin
5639fe4517 Implement toolbar hiding on scroll 2021-11-21 20:45:15 +03:00
Kirill Kamakin
ecd41c9dc6 Make sure recycler view scrolls recipes 2021-11-21 20:38:38 +03:00
Kirill Kamakin
552d0d2f6c Disable overScrollMode entirely 2021-11-21 20:38:05 +03:00
Kirill Kamakin
0121e90c99 Make bottom left toolbar corner rounded 2021-11-21 15:41:27 +03:00
Kirill Kamakin
5067e1e98f Add bottom padding to instructions list 2021-11-20 22:52:39 +03:00
Kirill Kamakin
ff4be6807f Add splash screen 2021-11-20 20:11:19 +03:00
Kirill Kamakin
4b817ba404 Add disclaimer fragment 2021-11-20 18:43:33 +03:00
Kirill Kamakin
d64a49b31f Fix opening recipe info without ingredients/instructions 2021-11-17 23:21:37 +03:00
Kirill Kamakin
7ebe89adfc Implement loading and saving full recipe info 2021-11-17 20:44:14 +03:00
Kirill Kamakin
c2129c763e Implement proper loading of recipe summaries 2021-11-16 22:41:21 +03:00
Kirill Kamakin
96d337e7a1 Fit image 2021-11-15 19:43:30 +03:00
Kirill Kamakin
1a136b6ade Replace action bar with material toolbar 2021-11-14 09:41:30 +03:00
Kirill Kamakin
587b9609c3 Update layout of view holders for recipes 2021-11-13 21:15:53 +03:00
Kirill Kamakin
740dd12f3b Enable lint rules and fix found issues 2021-11-13 16:46:00 +03:00
Kirill Kamakin
7637fb5f7c Extract styles 2021-11-13 15:09:38 +03:00
Kirill Kamakin
ea4b5d49b9 Extract margin_small 2021-11-13 15:09:38 +03:00
Kirill Kamakin
ef3c010f96 Rearrange auth inputs 2021-11-13 15:09:38 +03:00
Kirill Kamakin
470d5a4aef Initialize RecipesFragment 2021-11-13 15:09:32 +03:00
Kirill Kamakin
b0a53b5991 Implement initial authentication flow 2021-11-13 15:09:30 +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