1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00
Commit graph

557 commits

Author SHA1 Message Date
Christophe Beyls
9c1db446d2 Group ObjectAnimators in progress bar animated vector drawable, now that the AAPT2 bug has been fixed in Gradle plugin 3.4 2019-04-24 23:43:36 +02:00
Christophe Beyls
043cbfaf26 Update RecyclerView to the latest alpha version which includes bugfixes 2019-04-24 23:39:48 +02:00
Christophe Beyls
6c3655e205 Use the new built-in Transformations.distinctUntilChanged() 2019-04-24 23:38:00 +02:00
Christophe Beyls
1d4aa090c4 Remove deprecated method calls 2019-04-24 00:05:10 +02:00
Christophe Beyls
53da049c4a Update various dependencies to their latest alpha version 2019-04-23 23:54:46 +02:00
Christophe Beyls
91a3cb5374 Update Android Gradle plugin to 3.4.0 2019-04-23 23:44:23 +02:00
Christophe Beyls
f35b755bea Enable Java 8 language support and refactor code to use lambdas and try-with-resources 2019-04-04 01:31:10 +02:00
Christophe Beyls
2f16683674 Delay IntervalLiveData refresh to allow the previous result to be dispatched on active even when it's already expired 2019-03-08 00:03:01 +01:00
Christophe Beyls
aae57bd329 Update Gradle plugin 2019-03-07 23:47:14 +01:00
Christophe Beyls
07658b5453 Update Gradle plugin 2019-02-08 11:01:14 +01:00
Christophe Beyls
29af6e4601 Replace deprecated methods with newer equivalents 2019-02-05 21:20:09 +01:00
Christophe Beyls
1c926b1cfd Simpler implementation of up navigation fix from track screen to main activity 2019-02-05 20:48:03 +01:00
Christophe Beyls
214a6dfe71 Enhance up navigation from track Activity to main Activity: don't re-create the main Activity
Closes #7, closes #23
2019-02-04 21:24:09 +01:00
Christophe Beyls
d7e888bbd7 Enhance up navigation from event details to track Activity 2019-02-04 20:38:12 +01:00
Christophe Beyls
1bbb4ad824 Use the new postprocessing DSL block to configure code and resources shrinking
Stop using reflection to instantiate fragments in MainActivity
2019-02-03 23:05:40 +01:00
Christophe Beyls
a21bfcd275 Fix NullPointerException when the RecyclerView's adapter in LiveListFragment finishes updating asynchronously after the fragment is detached 2019-02-02 23:35:57 +01:00
Christophe Beyls
e83311cef4 Prepare for release 1.6.2 2019-02-02 12:09:04 +01:00
Christophe Beyls
dd25e82c1e Fix: prevent crash on sime devices in case of duplicate bookmark 2019-02-02 12:08:10 +01:00
Christophe Beyls
355221e540 Prepare for minor release 1.6.1 2019-02-02 11:55:25 +01:00
Christophe Beyls
12bbb8a31a Updated campus map image for 2019 2019-02-02 11:54:51 +01:00
Christophe Beyls
65cc597f74 Use the database Executor to execute one-shot queries 2019-01-30 13:55:37 +01:00
Christophe Beyls
a3dfdb3da4 New feature: bookmarks list sharing through Android Beam (NFC) 2019-01-29 21:22:30 +01:00
Christophe Beyls
a4348a168b Add back deprecation warning suppression in ThemeUtils 2019-01-29 21:20:03 +01:00
Christophe Beyls
97f7a50275 Don't trigger updates in TrackScheduleEventActivity on database changes: retrieve a snapshot of the schedule instead 2019-01-29 21:16:43 +01:00
Christophe Beyls
700ad50eb9 Move bookmark status into its own ViewModel controlled by the activity and integrate a bottom app bar with a floating action button to manage bookmark status.
Auto-hide the top toolbar on scroll in event details screens
Remove legacy UnderlinePageIndicator. Swiping is still possible.
2019-01-29 12:55:21 +01:00
Christophe Beyls
2e17feb3ef Remove legacy parent activity meta-data 2019-01-29 12:39:24 +01:00
Christophe Beyls
75512c1364 Improve NfcUtils to provide methods to convert data from and to NdefRecord 2019-01-28 20:47:44 +01:00
Christophe Beyls
5f3b8f945d Make LinkClickListener safer 2019-01-28 16:59:48 +01:00
Christophe Beyls
5985d3bd82 Adjust time padding in schedule item layout and change the highlighted time background color to accent color 2019-01-28 16:39:46 +01:00
Christophe Beyls
573b5c4544 Improve initial display of data in RecyclerViewFragment 2019-01-28 15:21:53 +01:00
Christophe Beyls
31e2ddd609 Update NFC callbacks to allow returning any kind of NdefRecord, and use NdefRecord.createMime() to create the records 2019-01-28 14:45:33 +01:00
Christophe Beyls
794fd3ca9c Bump paging library version to 2.1.0 and Room to 2.1.0-alpha04 2019-01-28 14:03:08 +01:00
Christophe Beyls
4df07a40b3
Refactor all database code to use Room, LiveData and the pagination library (#42)
* Bump minSDK version to 16 because SQLite < 3.7.11 doesn't support syntax 'CREATE TABLE IF NOT EXISTS' for FTS tables

* Reimplement search results screen using pagination, share a ViewModel between the Activity and the Fragment to allow updating the same fragment instance

* Preserve scroll position 0 in live fragments to ensure the insert/remove animation will be visible

* Simplify MultiChoiceHelper to always dispatch selection changes to the adapter using a payload, which prevents item crossfading on selection state change

* Use withLayer() for better performance of progress bar fade out animation
2019-01-28 13:30:07 +01:00
Christophe Beyls
f943edf747
Update F-Droid badge URL 2019-01-27 22:11:46 +01:00
Christophe Beyls
bc27d4af49 Mirror the drawer shadow image for RTL configuration 2019-01-27 21:13:28 +01:00
Christophe Beyls
c33f7b23e3 Improve RTL support in all layouts
Disable RTL mode for TabLayout
Fix RTL support of CollapsingToolbarLayout
Use android:textAppearance attribute instead of style when possible.
2019-01-27 19:35:56 +01:00
Christophe Beyls
924e089e86 Replace legacy horizontal progress bar with material horizontal progress bar backport implementation on API <21 2019-01-27 02:56:08 +01:00
Christophe Beyls
b79e29a67c Performance fix: ensure the ViewPager is only made visible when the adapter is set to avoid it to layout pages too early 2019-01-25 02:00:48 +01:00
Christophe Beyls
7e15f7de55 Use a consumable LiveData event to report the schedule download result to UI in place of LocalBroadcastManager
Use a simple AtomicBoolean instead of a lock to prevent concurrent downloads
2019-01-24 20:20:50 +01:00
Christophe Beyls
2a7b1439cc Rewrite LiveRoomStatusesLiveData to not inherit from AsyncTaskLiveData and not cancel the running download task 2019-01-23 21:37:02 +01:00
Christophe Beyls
18e69e8860 Make RecyclerView INVISIBLE instead of GONE to prevent relayout causing blinking items 2019-01-22 00:35:54 +01:00
Christophe Beyls
133a247544 Don't perform identical searches twice in SearchResultActivity, and display the error message about query size using a Snackbar instead of a dialog 2019-01-18 00:53:07 +01:00
Christophe Beyls
1d814dc9f3 Upgrade Gradle plugin to 3.3.0 2019-01-15 21:54:19 +01:00
Christophe Beyls
e438eca1c3 Code cleanups and remove unused resources 2019-01-07 02:41:53 +01:00
Christophe Beyls
bc49bf26e1 Update README description to mention Jetpack instead of the older support libraries 2019-01-07 02:33:33 +01:00
Christophe Beyls
d9d656017e Update preferences library to alpha02 2019-01-06 00:44:57 +01:00
Christophe Beyls
9b6339737d Bump version number to 1.6.0 2019-01-06 00:42:27 +01:00
Christophe Beyls
cdf4cc46b6 Update used libraries in the README and about screen 2019-01-06 00:42:04 +01:00
Christophe Beyls
90087e1539 Properly handle '@' in URLs 2019-01-05 23:37:09 +01:00
Christophe Beyls
79cedff72f Update DatabaseManager.getYear() to ensure it's never called from the main thread and compute the year from the Event day whenever possible 2019-01-05 23:13:26 +01:00