Commit graph

19 commits

Author SHA1 Message Date
Muhammad Hafizh Hasyim
7af17d2c02 Disable fling gesture for message list swipe actions 2023-10-25 12:46:19 +02:00
Wolf Montwé
d17f27244c
Fix dependency conflicts for ui-utils 2023-04-12 10:06:31 +02:00
cketti
5262f6f338 Set status bar color on API 27+ devices 2023-03-06 14:54:37 +01:00
Wolf Montwé
22d8e4b924
Change build files from Groovy to Kotlin 2023-02-23 14:52:16 +01:00
Wolf Montwé
96e2784b22
Rename build.gradle files to build.gradle.kts 2023-02-23 14:52:15 +01:00
Wolf Montwé
29d5220995
Add trailing comma allowance to code style 2023-02-17 16:14:13 +01:00
Wolf Montwé
f88613bf23
Change to Android library build plugin 2023-02-16 15:58:43 +01:00
cketti
9cb6859ad6 Load message details 2023-01-24 18:21:51 +01:00
cketti
7dd0ed79c4 Merge branch 'main' into message-view-redesign 2023-01-18 12:56:25 +01:00
Bastian Wilhelm
a3f6995a2e Migrate to Gradle's version catalog 2023-01-16 14:49:14 +01:00
cketti
81245668eb Add message detail bottom sheet
This commit is mainly about the bottom sheet mechanics of showing the toolbar when it is expanded. A place holder layout is used for the bottom sheet content.
2023-01-12 14:39:03 +01:00
Goooler
be9b4ef4aa Configure android extensions in subprojects 2022-12-07 19:04:23 +01:00
cketti
e17459f210 Reset swiped views when canceling a swipe action in the confirmation dialog 2022-11-14 14:18:21 +01:00
cketti
789fbe4d43 Deselect message during swipe
When swiping a selected message we remove the selection state at the start and restore it afterwards if the list item isn't removed. Except when the swipe action is "toggle selection". Then we keep the current selection state while the list item is dragged.
2022-11-11 14:00:11 +01:00
cketti
273d0b433d Handle animating a swiped view back to its start position inside ItemTouchHelper 2022-11-10 21:03:38 +01:00
cketti
f75101dfc1 Add support for swipe actions not animating the view all the way off the screen 2022-11-09 11:48:42 +01:00
cketti
d63eda9b07 Import a copy of ItemTouchHelper
Based on RecyclerView 1.2.1
2022-11-09 11:48:42 +01:00
cketti
e9bd127e45 Change how LinearLayoutManager decides how to anchor the list
If the list is scrolled to the top and items are inserted before the previously first list item, `RecyclerView` is "scrolled" to to show the new first item at the top.
2022-10-11 18:10:11 +02:00
cketti
fbd7f5c53b Import a copy of RecyclerView.LinearLayoutManager
Based on RecyclerView 1.2.1
2022-10-11 18:10:11 +02:00