Commit Graph

75 Commits

Author SHA1 Message Date
aminecmi
216c639a23 Closes #23 2022-08-23 20:47:07 +02:00
aminecmi
7258452625 Closes #23 2022-08-23 20:38:53 +02:00
aminecmi
d0d82751e2 Filtering DB items. 2022-08-23 20:34:20 +02:00
aminecmi
3b8f4991e9 Inserting items in the DB. 2022-08-23 16:56:04 +02:00
aminecmi
2547ce824a Repository should be DB ok. 2022-08-23 16:19:24 +02:00
aminecmi
59eb399cfa File renaming. 2022-08-23 15:17:47 +02:00
aminecmi
495b101355 Replacing room with sqldelight. Big cleaning. 2022-08-23 15:12:01 +02:00
4c78b22614 Use the connectivity-status library from the repository rather than the local copy 2022-08-22 19:33:58 +02:00
df4903cae5 Include the connectivity status library as a aar file 2022-08-21 23:34:47 +02:00
9203012a97 Include a local copy of the connectivity-status library to solve a bug 2022-08-21 23:34:17 +02:00
2a44162c5a Send toast messages to the home activity on connectivity changes 2022-08-21 23:34:17 +02:00
20588aab81 Add comment to remember the problem with the connectivity-status library 2022-08-21 23:34:17 +02:00
97d5063339 Consider offline override before updating remote 2022-08-21 23:34:17 +02:00
7c37b183d7 Refactor functions 2022-08-21 23:34:17 +02:00
82c4a5a1f9 Don't send toast messages from the repository 2022-08-21 23:34:17 +02:00
b9497ca939 Prepare the repository functions for DB implementation 2022-08-21 23:34:17 +02:00
d838f509d4 Stop monitoring the network when the app goes in background 2022-08-21 23:34:17 +02:00
3c5b606a02 Do not change the network override from within the repository 2022-08-21 23:34:17 +02:00
d1481a1db6 Reintroduce network checks where required 2022-08-21 23:34:17 +02:00
d654b1b0bd Refactor connectivity check 2022-08-21 23:34:17 +02:00
f56861a3c2 Show a message when the network connection is lost 2022-08-21 23:34:17 +02:00
492e7e4aed Update todo comments 2022-08-21 23:34:17 +02:00
13ea7a693b Do not fake offline mode when updating remote 2022-08-21 23:34:17 +02:00
0f3c48dd8e Handle the offline override in the repository 2022-08-21 23:34:17 +02:00
d4c2373bac Simplify network connectivity status check 2022-08-21 23:34:17 +02:00
4f32097821 Perform network connectivity checks in the repository 2022-08-21 23:34:17 +02:00
davidoskky
37fa4a1a8e Add multiplatform connectivity check 2022-08-21 23:34:17 +02:00
aminecmi
4d29ee0b92 Last fixes. 2022-08-17 16:16:11 +02:00
aminecmi
8d87eef0fc More fixes. 2022-08-17 14:24:28 +02:00
aminecmi
6260c3fc06 Fixes and drone build should work. 2022-08-17 10:43:56 +02:00
aminecmi
e3e6b6f8b8 Fixing build. 2022-08-16 21:09:28 +02:00
davide
00ef93f0c5 Remove unused repository interface 2022-08-16 11:49:53 +02:00
davide
7fb7e45093 Simplify items appending operation 2022-08-16 11:41:43 +02:00
davide
edc705ec8e Remove unused class 2022-08-16 11:23:03 +02:00
davide
bcaa6624c9 Add missing parameter 2022-08-16 11:22:14 +02:00
davide
0556500c5d Remove unused function 2022-08-16 11:19:56 +02:00
davide
f624a35fe2 Remove unused SelfossApi interface 2022-08-16 11:18:13 +02:00
davide
38f1dbd34d Strip direct api access from background 2022-08-16 11:13:26 +02:00
davide
29619e1b2b Use an enum to represent the selected items 2022-08-15 20:42:14 +02:00
davide
d47cca2f5a Use an enum to represent item type 2022-08-15 15:21:33 +02:00
davide
fe59177efb Do not create a new ArrayList every time the items are accessed 2022-08-15 15:07:10 +02:00
davide
baa4b81e77 Inject dateUtils 2022-08-14 13:00:37 +02:00
davide
7f8d04618a Simplify local item changes 2022-08-14 12:52:23 +02:00
davide
22f0ff664c Append older articles fetched 2022-08-14 12:39:20 +02:00
davide
88c5c6ff4b Don't regenerate dateutils each time it's needed 2022-08-13 18:00:51 +02:00
davide
3e97ee30a1 More informative log message 2022-08-13 17:57:52 +02:00
davide
5377e6c0f8 Make items read by swiping disappear 2022-08-13 17:48:13 +02:00
davide
e6c70c66fc Remove searchService from the home activity 2022-08-13 17:34:09 +02:00
davide
442e4bf876 Do not store articles if connectivity is available. 2022-07-27 19:15:04 +02:00
davide
b14b34441b Update api login information with user input 2022-07-25 15:20:36 +02:00