material-components / material-components/material-components-android

[Material Motion] Add predictive back support for MaterialContainerTransform

Open
#4,042 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Feature: Predictive Back Feature: Transition
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Predictive Back is fully supported in AndroidX Transitions and [Fragments](https://developer.android.com/guide/navigation/custom-back/support-animations#fragments). The default MaterialContainerTransform transition should support predictive back.

Ideally, the transition would follow the Predictive Back [design spec](https://developer.android.com/design/ui/mobile/guides/patterns/predictive-back).

Related: https://github.com/material-components/material-components-android/issues/3619

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the MaterialContainerTransform entry point and reviewing AndroidX Transitions and Fragments predictive-back support. Compare the requested behavior with the linked predictive-back design specification and related issue 3619. Done means the default transition supports predictive back and follows the referenced design guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.