API Change Statistics

The overall difference between API Levels 26.0.0-beta1 and 26.0.0-beta2 is approximately 2.34%.


Total of Differences, by Number and Type

The table below lists the numbers of program elements (packages, classes, constructors, methods, and fields) that were added, changed, or removed. The table includes only the highest-level program elements — that is, if a class with two methods was added, the number of methods added does not include those two methods, but the number of classes added does include that class.

Type Additions Changes Removals Total
Packages 2 17 0 19
Classes and Interfaces 6 56 1 63
Constructors 0 0 1 1
Methods 90 47 3 140
Fields 41 13 0 54
Total 139 133 5 277

Changed Packages, Sorted by Percentage Difference

Percentage Difference* Package
12 android.support.v17.leanback.media
8 android.support.text.emoji.widget
3 android.support.v4.view
2 android.support.transition
2 android.support.v4.media.session
2 android.support.v17.leanback.widget
2 android.support.v4.app
1 android.support.v7.app
1 android.support.design.widget
1 android.support.text.emoji
1 android.support.v4.widget
1 android.support.v4.media
<1 android.support.v4.os
<1 android.support.v17.leanback.app
<1 android.support.v7.preference
<1 android.support.v7.widget
<1 android.support.media.tv

* See Calculation of Change Percentages, below.


Changed Classes and Interfaces, Sorted by Percentage Difference

Percentage
Difference*
Class or Interface
65 android.support.v17.leanback.media.PlaybackTransportControlGlue
60 android.support.v17.leanback.widget.FocusHighlightHelper
50 android.support.v17.leanback.widget.PlaybackControlsRow.PlayPauseAction
50 android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction
50 android.support.v4.app.ActionBarDrawerToggle.DelegateProvider
40 android.support.v17.leanback.widget.PlaybackControlsRow.ClosedCaptioningAction
40 android.support.v17.leanback.widget.PlaybackControlsRow.HighQualityAction
40 android.support.v17.leanback.widget.PlaybackControlsRow.RepeatAction
40 android.support.v17.leanback.widget.PlaybackControlsRow.ShuffleAction
39 android.support.design.widget.AppBarLayout.Behavior
33 android.support.v4.widget.ListViewCompat
25 android.support.text.emoji.widget.EmojiAppCompatEditText
25 android.support.text.emoji.widget.EmojiEditTextHelper
24 android.support.design.widget.CoordinatorLayout.Behavior
21 android.support.v4.view.ViewParentCompat
20 android.support.text.emoji.widget.EmojiEditText
20 android.support.v4.view.NestedScrollingParentHelper
17 android.support.v4.view.NestedScrollingChildHelper
16 android.support.v4.app.ActionBarDrawerToggle.Delegate
12 android.support.design.widget.CoordinatorLayout
12 android.support.v4.widget.NestedScrollView
11 android.support.v4.media.session.MediaSessionCompat
11 android.support.v4.media.session.MediaControllerCompat.Callback
10 android.support.text.emoji.EmojiCompat
10 android.support.v4.media.MediaBrowserCompat
10 android.support.v4.os.BuildCompat
9 android.support.transition.ChangeBounds
8 android.support.v4.media.MediaDescriptionCompat
8 android.support.v7.preference.PreferenceDataStore
7 android.support.v7.widget.RecyclerView.State
5 android.support.transition.TransitionManager
5 android.support.v17.leanback.app.OnboardingFragment
5 android.support.v17.leanback.app.OnboardingSupportFragment
5 android.support.v4.app.FragmentTransaction
4 android.support.v4.app.NotificationCompat
4 android.support.v4.media.session.MediaControllerCompat.TransportControls
4 android.support.v4.app.NotificationCompat.Builder
4 android.support.v17.leanback.app.BaseRowFragment
4 android.support.v17.leanback.app.BaseRowSupportFragment
3 android.support.v4.media.session.MediaSessionCompat.Callback
3 android.support.v4.app.FragmentManager.FragmentLifecycleCallbacks
3 android.support.v4.media.session.MediaControllerCompat
2 android.support.v4.media.session.PlaybackStateCompat
2 android.support.v7.widget.RecyclerView
2 android.support.v17.leanback.widget.BaseGridView
2 android.support.v4.view.ViewCompat
1 android.support.v17.leanback.widget.ListRowPresenter
1 android.support.v7.app.AppCompatDelegate
1 android.support.v17.leanback.widget.GuidedActionsStylist
1 android.support.v4.media.MediaMetadataCompat
1 android.support.v7.preference.Preference
1 android.support.transition.Transition
<1 android.support.v17.leanback.app.GuidedStepFragment
<1 android.support.v17.leanback.app.GuidedStepSupportFragment
<1 android.support.media.tv.TvContractCompat.WatchNextPrograms
<1 android.support.v4.app.Fragment

* See Calculation of Change Percentages, below.


Calculation of Change Percentages

The percent change statistic reported for all elements in the "to" API Level specification is defined recursively as follows:

Percentage difference = 100 * (added + removed + 2*changed)
                        -----------------------------------
                        sum of public elements in BOTH APIs

where added is the number of packages added, removed is the number of packages removed, and changed is the number of packages changed. This definition is applied recursively for the classes and their program elements, so the value for a changed package will be less than 1, unless every class in that package has changed. The definition ensures that if all packages are removed and all new packages are added, the change will be 100%.