Kirill Kamakin
d2029438d7
Fix handling result in BaseURLFragment and AuthenticationFragment
2022-04-08 21:19:05 +05:00
Kirill Kamakin
b129913a82
Clear unused and fix tests
2022-04-08 17:54:23 +05:00
Kirill Kamakin
096b5389bd
Use AccountManager
2022-04-08 17:54:21 +05:00
Kirill Kamakin
f44f54522d
Extract Base URL from authentication
2022-04-04 03:34:50 +05:00
Kirill Kamakin
c8019e9c85
Implement hiding ingredients and instructions
2021-12-27 19:41:56 +03:00
Kirill Kamakin
6232af2295
Improve recipe info screen UI
2021-12-27 14:47:53 +03:00
Kirill Kamakin
186e1bf944
Show password disguise toggle icon ( #16 )
...
Fixes #6
2021-11-27 16:44:56 +00:00
Kirill Kamakin
44458dd146
Fix a number of lint issues ( #2 )
...
* Fix systemUiVisibility deprecation warnings
This commit extracts setSystemUiVisibility as
an extension and uses the new API depending on
the Build.VERSION
* Fix splash fragment vector issues
Clip-path isn't available before V24 and
width/height should not exceed 200 dp.
* Remove unused disclaimer fragment header
* Remove unused ic_launcher_round
* Ignore IconMissingDensityFolder lint
Ignoring it because all the images are vector
* Ignore UnusedAttribute lint
It warns about networkSecurityConfig which
is used only in debug builds to allow
user SSL certificates. Lint says it's not
available before v24. But it doesn't matter
since before v24 the user SSL certificates
were allowed by default.
* Use plurals for disclaimer count down
2021-11-27 13:10:00 +00:00
Kirill Kamakin
715e63a1d4
Specify RecipeInfoFragment's layout managers in xml
2021-11-27 10:39:57 +03:00
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