Christophe Beyls
a13705dfa7
fix overriding annotationProcessorOptions
2020-09-14 16:06:37 +02:00
Christophe Beyls
410ed8fc30
upgrade Okio to 2.8.0 for Kotlin 1.4
2020-09-14 16:05:41 +02:00
Christophe Beyls
e306f6436b
revert workaround for compound drawables tinting bug in some Android versions, bug has been fixed
2020-09-14 15:51:36 +02:00
Christophe Beyls
ae3212822d
upgrade to Kotlin 1.4.10 + new versions of AppCompat & Material Components
...
+ add workaround for FAB tinting on API < 21
2020-09-14 15:51:32 +02:00
Christophe Beyls
24891fc134
upgrade coroutines and core
2020-07-25 14:41:23 +02:00
Christophe Beyls
2c5a0eaa7a
fix: use DateParceler to serialize startTime and endTime fields
2020-07-18 01:05:25 +02:00
Christophe Beyls
496286339b
update Gradle plugin to 4.0.1, DrawerLayout and Okio
2020-07-18 01:05:14 +02:00
Christophe Beyls
a049e48ead
remove old support library Proguard rules
2020-06-13 12:41:16 +02:00
Christophe Beyls
c07e550997
update okhttp to 3.12.12
2020-06-13 12:40:02 +02:00
Christophe Beyls
ae91af6dbe
upgrade core and fragment libraries
2020-06-11 01:19:45 +02:00
Christophe Beyls
b2a93a2165
upgrade Gradle plugin to 4.0
...
restrict the Jitpack Repository to the PhotoView dependency
2020-05-29 12:07:58 +02:00
Christophe Beyls
4b20c0b3a4
rely on FragmentFactory to instantiate all fragments, replace newInstance() factory methods with createArguments()
2020-05-21 15:16:50 +02:00
Christophe Beyls
d2b674f3d2
upgrade DrawerLayout library
2020-05-21 00:13:21 +02:00
Christophe Beyls
7335b6021e
make ViewLifecycleLazy implementation private and make it implement LifecycleEventObserver to save an object allocation
2020-05-12 00:06:58 +02:00
Christophe Beyls
f7b6ea857e
remove double negation
2020-05-08 22:33:41 +02:00
Christophe Beyls
64188a1bd6
tweak code in RecyclerViewExt
2020-05-08 00:45:42 +02:00
Christophe Beyls
e87ca567be
extract findActivity() to a public utility function in ViewExt
2020-05-08 00:41:52 +02:00
Christophe Beyls
b8235f8e93
use += operator for collections
2020-05-06 23:32:53 +02:00
Christophe Beyls
9ea8200c07
use with(obtainStyledAttributes) for consistency with other screens
2020-05-04 23:53:27 +02:00
Christophe Beyls
ecbe98f9e4
combine download schedule progress and result into LoadingState
2020-05-02 00:46:14 +02:00
Christophe Beyls
5424dfb385
upgrade Okio to 2.6.0
2020-04-29 01:02:35 +02:00
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
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
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
Christophe Beyls
1cead841d8
fix logic to prevent animation in BookmarkStatusAdapter
2020-01-22 12:24:24 +01:00
Christophe Beyls
6b7ce11dee
improve Building name selection
2020-01-21 18:06:51 +01:00
Christophe Beyls
31ea8f9c5d
ensure the application Context is used for shared preferences
2020-01-21 05:28:20 +01:00
Christophe Beyls
266842eca4
fix notifications app color
2020-01-21 05:24:53 +01:00
Christophe Beyls
74c2a6d1e7
upgrade OkHttp to 3.12.8
2020-01-21 05:19:26 +01:00
Christophe Beyls
0eb6b08732
prepare for hotfix release 1.7.2
2020-01-06 13:54:37 +01:00
Christophe Beyls
434a72dc6c
fix new ICalendarWriter implementation and upgrade Okio library
2020-01-06 13:53:42 +01:00
Christophe Beyls
bc6ca3e21e
update version code for hotfix release 1.7.1
2020-01-05 20:09:17 +01:00
Christophe Beyls
bd4e57ef56
fix custom tabs toolbar coloring and reorganized track colors
2020-01-05 20:08:02 +01:00
Christophe Beyls
47e46fc4b9
update campus map for 2020
2020-01-04 20:55:44 +01:00
Christophe Beyls
e8eed7eabf
suppress deprecation build warning in ThemeUtils
2020-01-04 20:39:04 +01:00
Christophe Beyls
4a719fade7
bump version code for release 1.7.0
2020-01-04 20:30:31 +01:00
Christophe Beyls
877d584d04
replace the database update modal dialog with auto-update. Add a retry button to the bottom sheet error message in case of failure.
2020-01-03 23:34:54 +01:00
Christophe Beyls
476dda8ddf
implement workaround to prevent ViewPager2 from conflicting with vertical scroll in the pages
2020-01-03 17:11:32 +01:00
Christophe Beyls
4b2beb5802
use a darker red color in white theme for main tracks and warnings
2020-01-03 16:13:40 +01:00
Christophe Beyls
4c3b689e7f
implement Dark theme and tweak Material theme
...
Close #27
2020-01-02 22:49:00 +01:00
Christophe Beyls
0de52dcca9
update ICalendarWriter to use Okio's BufferedSink instead of Writer fo better performance
2019-12-27 17:32:28 +01:00
Christophe Beyls
d83c2f9b8d
fix Bookmarks filter menu item icon tinting
2019-12-23 03:10:56 +01:00
Christophe Beyls
0fcd6f4cbe
upgrade room, material components, browser, paging
2019-12-21 16:37:23 +01:00
Christophe Beyls
85555a64eb
upgrade Gradle plugin, CoordinatorLayout, Room
2019-12-09 21:13:17 +01:00
Christophe Beyls
338c0424ea
upgrade RecyclerView and ViewPager2 to stable versions
2019-11-21 13:45:51 +01:00
Christophe Beyls
48a2afb446
upgrade Material Components library to 1.1.0-beta02
2019-11-19 13:13:57 +01:00
Christophe Beyls
94aa852cd2
migrate to ViewPager2
2019-11-14 01:22:27 +01:00
Christophe Beyls
b5f3eb7bf6
bump compile and target SDK to 29 and update libraries to take advantage of the new APIs
2019-11-10 14:44:18 +01:00
Christophe Beyls
2ae81c048a
Use the Dialog theme to inflate the layout in RoomImageDialogFragment
2019-11-09 23:19:18 +01:00
Christophe Beyls
d1beb53ccf
Tint all icons using the proper theme-independent color
2019-11-09 22:21:30 +01:00
Christophe Beyls
0cf6443b4b
Simplify dialog themes
2019-11-09 17:59:39 +01:00
Christophe Beyls
7f6c0a1674
rename Widget.Fosdem.** styles to Widget.App.**
2019-11-09 17:49:22 +01:00
Christophe Beyls
b766e38d00
Use default error colors from material theme attributes for error Snackbar and to highlight conflicting bookmarks
2019-11-07 23:12:52 +01:00
Christophe Beyls
0752dbc6ee
Tint the error Snackbar using colorError
2019-11-07 14:00:12 +01:00
Christophe Beyls
207b5b45a1
Add rules and styles to allow the resources shrinker to remove drawable resources of unused widgets
2019-11-06 03:12:45 +01:00