Christophe Beyls
400bcdea53
use += operator to add view
2020-04-29 01:01:00 +02:00
Christophe Beyls
3194c80cf4
remove some unnecessary null checks
2020-04-25 21:01:53 +02:00
Christophe Beyls
f447c0069b
don't use Parcelize in MultiChoiceHelper for better reusability
2020-04-23 17:53:24 +02:00
Christophe Beyls
afd488be58
fix multiChoiceHelper adapter lifecycle
2020-04-23 16:04:24 +02:00
Christophe Beyls
5ad84338ee
provide Calendar instance directly as argument default value in DateUtils.getYear()
2020-04-23 15:20:13 +02:00
Christophe Beyls
1eff855426
refactor HttpUtils to suspending functions and perform parsing on the OkHttp background thread
2020-04-22 19:07:47 +02:00
Christophe Beyls
dc02336785
fix the download progress bar logic and encapsulate it in FadeOutViewMediator
2020-04-21 20:15:56 +02:00
Christophe Beyls
7f282c4418
replace ContentLoadingProgressBar with ContentLoadingViewMediator
2020-04-21 19:09:11 +02:00
Christophe Beyls
1d88941b63
create viewLifecycleLazy and use it to make fragments properly implement RecycledViewPoolProvider
2020-04-21 14:42:36 +02:00
Christophe Beyls
96eb3df61d
use LazyThreadSafetyMode.NONE for lazy preference read in TrackScheduleListFragment
2020-04-21 13:58:14 +02:00
Christophe Beyls
0cabd84732
remove dependency to lifecycle-common-java8
2020-04-21 13:09:41 +02:00
Christophe Beyls
a410532aa1
isolate fix for disappearing menu items into a separate class
2020-04-21 10:52:40 +02:00
Christophe Beyls
bc64f0c8eb
update Gradle plugin
2020-04-18 15:57:02 +02:00
Christophe Beyls
24a27a5ac1
use alternative Activity constructor instead of setContentView()
2020-04-17 17:51:54 +02:00
Christophe Beyls
b45b3cf444
remove unnecessary FOCUS_AFTER_DESCENDANTS on RecyclerView
2020-04-17 00:58:14 +02:00
Christophe Beyls
77ec0fca2d
disallow null queries in SearchViewModel
2020-04-17 00:18:32 +02:00
Christophe Beyls
cfb588935f
upgrade Kotlin and Preference
2020-04-16 16:24:32 +02:00
Christophe Beyls
75c73c2de8
update Parser to be a read-only interface
2020-04-16 16:15:56 +02:00
Christophe Beyls
8988744024
Override another material components layout to avoid including the unused BaselineLayout internal class in the APK
2020-04-10 17:49:14 +02:00
Christophe Beyls
7ddf2020f2
replace RecyclerViewFragment with RecyclerViewViewHolder and refactor fragments to not keep a reference to their RecyclerView adapter
...
Refactor TrackScheduleListFragment and TrackScheduleActivity to simplify communication code
2020-04-03 15:53:02 +02:00
Christophe Beyls
93b43b1f91
remove unused namespace declarations
2020-04-02 11:53:09 +02:00
Christophe Beyls
5b989d3253
upgrade Gradle plugin, fragment-ktx and DrawerLayout to their latest stable version
2020-04-02 11:46:43 +02:00
Christophe Beyls
162628687d
only allow non-null types for SingleEvent
2020-03-29 18:33:49 +02:00
Christophe Beyls
a9c76680e4
refactor MultiChoiceHelper to allow changing its underlying adapter
2020-03-28 03:06:39 +01:00
Christophe Beyls
02e6887c45
simplify Fragments by removing onCreateView() and onDestroyView() callbacks and viewHolder members when possible
2020-03-26 13:19:06 +01:00
Christophe Beyls
a71a92dbbc
Update Kotlin to 1.3.71, as well as Okio and Coroutines libraries. Coroutines 1.3.5 makes the final APK 8KB smaller.
2020-03-24 16:01:31 +01:00
Christophe Beyls
4514e40222
upgrade R8 to fix a bug present in the built-in version of AGP 3.6.1 (1.6.67)
2020-03-20 18:43:46 +01:00
Christophe Beyls
f90fbccd2a
replace deprecated onActivityCreated() with onViewCreated() in fragments
2020-03-20 00:11:42 +01:00
Christophe Beyls
5ef42ea87b
upgrade Room, Fragment, Paging libraries
2020-03-20 00:04:22 +01:00
Christophe Beyls
f627d9a758
add new required Proguard rules for ViewModels
2020-03-20 00:01:38 +01:00
Christophe Beyls
bd2a220275
Update DrawerLayout to 1.1.0-alpha04, OkHttp to 3.12.10 and Kotlin to 1.3.70
2020-03-06 17:44:00 +01:00
Christophe Beyls
7212aee9be
Remove View binding classes generation, added by mistake
2020-03-06 16:43:47 +01:00
Christophe Beyls
c8ef6bca85
update Gradle plugin to hotfix release 3.6.1
2020-03-01 13:50:30 +01:00
Christophe Beyls
da7e7321a9
remove Kotlin compiler non-null assertions from release builds
2020-02-25 15:30:58 +01:00
Christophe Beyls
11e71d1595
update Gradle, Gradle plugin to 3.6.0 and a few dependencies
2020-02-25 01:15:51 +01:00
Christophe Beyls
4bbe817476
update build tools, core, fragments, material components to latest stable version
2020-02-10 11:22:39 +01:00
Christophe Beyls
a060f5d717
use custom BackgroundWorkScope instead of GlobalScope
2020-01-31 15:44:19 +01:00
Christophe Beyls
a37e102cd5
simplify the Link class by removing secondary constructor
2020-01-29 23:29:24 +01:00
Christophe Beyls
9db6ec56ad
prepare for hotfix release 2.0.1
2020-01-29 12:30:55 +01:00
Christophe Beyls
d9aed9319e
regression fix: initial section display in the toolbar
2020-01-29 12:04:44 +01:00
Christophe Beyls
669f5d1cb0
Convert the entire app to Kotlin ( #50 )
...
- Remove all Java code and replace it with Kotlin equivalent
- Use KTX versions of all libraries to extend them with Kotlin functionality
- Migrate Okio to its latest version which is written in Kotlin.
2020-01-28 23:47:38 +01:00
Christophe Beyls
afcc269eda
fix ViewPager2 adapter memory leak when TracksFragment is detached
2020-01-27 12:14:58 +01:00
Christophe Beyls
97cbeb86c7
update version code for next release
2020-01-26 14:30:23 +01:00
Christophe Beyls
f0601224f1
update SearchViewModel to save its own state using SavedStateHandle
2020-01-26 14:21:49 +01:00
Christophe Beyls
60a3d01324
fix app:drawableTint not working in some Android versions
2020-01-24 13:50:28 +01:00
Christophe Beyls
8554eb710c
remove duplicate text set in BookmarksAdapter
2020-01-24 13:38:58 +01:00
Christophe Beyls
c82e4c2333
improve background coloring code in TrackScheduleAdapter
2020-01-23 20:25:48 +01:00
Christophe Beyls
ad3f25e480
remove all left/right attributes from layouts since the app now has a min SDK version of 17 which always supports start/end attributes
2020-01-22 21:42:55 +01:00
Christophe Beyls
bf0682633d
migrate to Lifecycle 2.2.0 and Fragment 1.2.0
2020-01-22 21:13:21 +01:00
Christophe Beyls
569ffd7542
upgrade Material Components library
2020-01-22 20:26:00 +01:00