pachli-android/app
Nik Clayton ecd81e80b0
fix: Fix toolbar flickering when scrolling lists (#26)
Scrolling a thread, set of search results, or viewing a thread would
cause the toolbar to flicker as items moved under it.

Fix this by configuring the toolbar to `liftOnScroll` in the relevant
layouts.

It needs to be configured with the view (or ID of the view) that it
will be scrolling. For views that are in the same layout this is done
with the `liftOnScrollTargetViewId` attribute.

For views that are in different layouts (e.g. the toolbar is in
the activity and the scrolling view is in a fragment) the app bar's
`setLiftOnScrollTargetView` method must be called.

Do this in `TimelineFragment` if the hosting activity is a new
interface `AppBarLayoutHost`. Implement this interface in
`StatusListActivity`.

Update the relevant layouts to use `MaterialToolbar`.

Fixes #21
2023-09-11 17:48:42 +02:00
..
schemas/app.pachli.db.AppDatabase refactor: Transition from Tusky to Pachli 2023-09-05 13:33:37 +02:00
src fix: Fix toolbar flickering when scrolling lists (#26) 2023-09-11 17:48:42 +02:00
build.gradle refactor: Transition from Tusky to Pachli 2023-09-05 13:33:37 +02:00
getGitSha.gradle Previous attempt to fix git sha on non-git build broke git build. (#3322) 2023-02-16 20:20:52 +01:00
lint-baseline.xml fix: Fix toolbar flickering when scrolling lists (#26) 2023-09-11 17:48:42 +02:00
lint.xml refactor: Transition from Tusky to Pachli 2023-09-05 13:33:37 +02:00
proguard-rules.pro refactor: Transition from Tusky to Pachli 2023-09-05 13:33:37 +02:00