Commit Graph

65 Commits

Author SHA1 Message Date
Kirill Kamakin
221ab89b86 Fix formatting zeroes 2022-12-04 19:02:14 +01:00
Kirill Kamakin
aee1585106 Add notes when amounts are enabled 2022-12-04 19:00:52 +01:00
Kirill Kamakin
58ccd10f35 Do not filter blank ingredients and instructions 2022-12-04 18:59:20 +01:00
Kirill Kamakin
a628912557 Parse ingredient amounts from V1 response 2022-12-04 18:47:27 +01:00
Kirill Kamakin
7fa96affe8 Show text when no recipes found 2022-11-21 20:17:16 +01:00
Kirill Kamakin
d7c94d29d4 Hide edit text cursor on list scroll 2022-11-20 15:49:14 +01:00
Kirill Kamakin
fd235c43c7 Use id to determine current destination 2022-11-20 14:41:38 +01:00
Kirill Kamakin
6c3abbd51c Highlight current tab in navigation drawer 2022-11-20 10:36:26 +01:00
Kirill Kamakin
1a4d15b680 Lock drawer closed in onboarding 2022-11-19 12:30:43 +01:00
Kirill Kamakin
4510087209 Remove custom shapes and elevations 2022-11-19 10:00:04 +01:00
Kirill Kamakin
e86b24c3f6 Use material toolbar without action bar 2022-11-18 22:42:56 +01:00
Kirill Kamakin
db3458ca2e Allow reading recipe info from DB 2022-11-17 22:05:59 +01:00
Kirill Kamakin
274a3ec20f Hide keyboard when user scrolls recipe list 2022-11-17 20:56:07 +01:00
Kirill Kamakin
32d366b8fd Fix absent recipe refresh on authorization 2022-11-13 15:38:45 +01:00
Kirill Kamakin
280f282972 Disable swipe refresh when data is refreshing 2022-11-13 15:29:44 +01:00
Kirill Kamakin
5c66247843 Rename RecipesFragment to RecipesListFragment 2022-11-13 15:04:24 +01:00
Kirill Kamakin
21abf38282 Start search implementation 2022-11-12 15:27:27 +01:00
Kirill Kamakin
0c0248dbbc Ignore ingredients with empty note 2022-11-06 20:02:51 +01:00
Kirill Kamakin
5ed6d44099 Fix crashing when tapping too fast 2022-11-06 19:37:42 +01:00
Kirill Kamakin
4ad3e7662e Split loadRecipeInfo to refresh/load 2022-11-06 19:37:42 +01:00
Kirill Kamakin
cc73f68751 Fix jumping recipe info sheet 2022-11-06 19:37:42 +01:00
Kirill Kamakin
ff38ce655d Read navigation argumens in ViewModel 2022-11-06 19:37:42 +01:00
Kirill Kamakin
d873bfa2ed Ignore load errors if wasn't loading 2022-11-05 11:32:17 +01:00
Kirill Kamakin
39ce70f964 Remove unnecessary method 2022-11-05 11:08:12 +01:00
Kirill Kamakin
7800d7e754 Simplify RecipesPagingAdapter creation 2022-11-05 11:06:21 +01:00
Kirill Kamakin
1ee0456494 Use repeatOnLifecycle 2022-11-05 10:57:56 +01:00
Kirill Kamakin
b7bb6c8566 Simplify edge case handling 2022-11-05 10:40:15 +01:00
Kirill Kamakin
33bdaf9726 Show load end/load failure toasts 2022-11-04 22:13:57 +01:00
Kirill Kamakin
714ff7d33f Request recipes on successful authorization 2022-11-04 21:51:14 +01:00
Kirill Kamakin
6280445a7c Move runCatchingExceptCancel to datasource 2022-10-29 19:31:02 +02:00
Kirill Kamakin
47addc3b90 Fix opening recipes on v0.5.6 2022-10-29 17:46:28 +02:00
Kirill Kamakin
45b1b07372 Fix absent images on v0.5.6 2022-10-29 17:33:39 +02:00
Kirill Kamakin
95205f8ffe Initialize v1 support 2022-08-14 18:19:42 +02:00
Kirill Kamakin
e0a4442e72 Create network module 2022-08-06 18:23:10 +02:00
Kirill Kamakin
107bb64256 Replace Timber with Logger 2022-08-05 20:16:29 +02:00
Kirill Kamakin
53b40bbc60 Extract database module 2022-08-04 19:34:21 +02:00
Kirill Kamakin
e18f726da5 Implement adding recipes through app 2022-06-12 12:49:18 +02:00
Kirill Kamakin
3079cd9588 Implement Glide image preload in RecyclerView 2022-04-18 18:08:06 +02:00
Kirill Kamakin
2686f757ea Replace Picasso with Glide 2022-04-18 13:17:07 +02:00
Kirill Kamakin
a5ae5e91cd Disable Picasso logging 2022-04-09 17:32:18 +05:00
Kirill Kamakin
a9e0842a38 Simplify RecipeInfoFragment code 2022-04-09 03:38:30 +05:00
Kirill Kamakin
e7620400b8 Use single UI state for activity 2022-04-09 03:06:02 +05:00
Kirill Kamakin
d2029438d7 Fix handling result in BaseURLFragment and AuthenticationFragment 2022-04-08 21:19:05 +05:00
Kirill Kamakin
7c081c199a Replace AccountManager with EncryptedSharedPreferences 2022-04-08 20:07:32 +05:00
Kirill Kamakin
eca325ebe4 Simplify error handling 2022-04-05 15:35:18 +05:00
Kirill Kamakin
f14afd2ebe Fix IllegalStateException when clicking login after logout
The previous login result was stored as live data and
prevented AuthenticationFragment from being shown
properly. However, an attempt to destroy RecipesFragment
was made. This attempt caused IllegalStateException
when accessing view in onDestroyView.
2022-04-04 20:52:14 +05:00
Kirill Kamakin
fb10333c2c Fix showing login/logout button on initial screens 2022-04-04 19:34:21 +05:00
Kirill Kamakin
c98feceab4 Fix pressing back on AuthenticationFragment
If login request isn't disabled when user presses
back then they might get navigated back to
authentication again.
2022-04-04 18:54:48 +05:00
Kirill Kamakin
468aa8c02a Implement login/logout functionality 2022-04-04 16:42:22 +05:00
Kirill Kamakin
f44f54522d Extract Base URL from authentication 2022-04-04 03:34:50 +05:00