Bug 1879146 - Move mozac.org docs back into the android-components folder. r=owlish...
[gecko.git] / mobile / android / android-components / docs / _posts / 2019-05-23-deprecation.md
blob39d08862d8d6d4525795bb1d109f83475031a8cf
1 ---
2 layout: post
3 title: "🔚 Deprecating feature-session-bundling, ui-doorhanger and ui-progress"
4 date: 2019-05-23 14:27:00 +0200
5 author: sebastian
6 ---
8 In our upcoming 0.54.0 release we are going to deprecate three of our components: `feature-session-bundling`, `ui-doorhanger` and `ui-progress`. Primary classes of those components have been marked with the `@Deprecated` annotation. With 0.54.0 those components will still be released. However in a future release those components will be removed.
10 ## feature-session-bundling
12 The `feature-session-bundling` provided the functionality for an early feature called "sessions" in the [Fenix project](https://github.com/mozilla-mobile/fenix). This feature has been replaced with "collections" and the functionality for this new feature is provided by the new `feature-tab-collections` component.
14 ![](/assets/images/blog/session-bundles.png)
16 ## ui-doorhanger
18 This component allowed apps to create "doorhangers" - floating heads-up popup that can be anchored to a view; like in Firefox for Android. This implementation was based on Android's [PopupWindow](https://developer.android.com/reference/android/widget/PopupWindow) class. The implementation caused multiple layout issues and component using it (like `feature-sitepermissions`) switched to using `DialogFragment`s instead.
20 ## ui-progress
22 The `AnimatedProgressBar` was first introduced in Firefox for Android and later used in Firefox Focus and Firefox Lite. A recent performance measurement revealed that the animation of the progress bar can have a negative impact on page load performance. While there was no noticeable difference on the latest high-end devices, on older devices, like a Nexus 5, we saw pages load about ~400ms slower.
24 ![](/assets/images/blog/progress-performance.png)