alibaba / alibaba/flutter_boost

Android端 ViewPager2嵌入FlutterBoostFragment,每次切换显示时会闪黑一下

Open
#1,528 1 comment 0 reactions 0 assignees View on GitHub
in triage
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

## Steps to Reproduce
问题和解决办法跟 https://github.com/alibaba/flutter_boost/issues/1380#issue-999981093 一样,但是是在Android10上遇到的。能否把 `if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.M)` 的限制去掉

**Flutter Boost Version:** v3.0-null-safety-preview.17
**Target Platform:** Android 10
**Devices:**
1.华为BKL-AL20
2.OPPO PACM00

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked issue and locating the Android code containing the `Build.VERSION.SDK_INT <= Build.VERSION_CODES.M` condition. Reproduce the black flash with ViewPager2 and FlutterBoostFragment on Android 10, then verify that the display transition is fixed on the listed devices without regressing older Android versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.