Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Android embedding: android.app.Fragment is deprecated. Switch to support Fragment. #2128

Closed
@atsushieno

Description

Starting from Android P, android.app.Fragment is officially deprecated: https://developer.android.com/reference/android/app/Fragment.html

We are using Android.App.Fragment in our Forms Embedding. We should switch to support Fragment too. Not even for the official deprecation, Support Fragment is getting increasingly important as it supports a lot of features that non-support Fragment does not (such as Architecture Components).

https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.Android/AppCompat/PageExtensions.cs#L2

Metadata

Assignees

Labels

breakingChanges behavior or appearancee/2 🕑2i/highCompletely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less oftenp/Androidt/bug 🐛

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions