Description: JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.
Keywords: diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet

Android Developers | Android.com

API Diff Specification
To Level: | 25.1.0
From Level: | 25.0.0
Generated | 2016.12.08 16:29

Top of Report

# API Change Statistics

The overall difference between API Levels 25.0.0 and 25.1.0 is approximately 1.17%.

## 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 | 0 | 14 | 0 | 14
Classes and Interfaces | 24 | 51 | 0 | 75
Constructors | 2 | 4 | 0 | 6
Methods | 72 | 69 | 2 | 143
Fields | 0 | 0 | 0 | 0
Total | 98 | 138 | 2 | 238

## Changed Packages, Sorted by Percentage Difference

Percentage Difference* | Package
--- | ---
20 | android.support.graphics.drawable
14 | android.support.v17.leanback.app
5 | android.support.v7.preference
4 | android.support.design.widget
3 | android.support.v17.preference
3 | android.support.v4.util
2 | android.support.v4.provider
2 | android.support.v4.os
1 | android.support.v17.leanback.widget
<1 | android.support.v4.app
<1 | android.support.v7.widget
<1 | android.support.v4.media.session
<1 | android.support.v7.app
<1 | android.support.v7.media

* See Calculation of Change Percentages, below.

## Changed Classes and Interfaces, Sorted by Percentage Difference

Percentage Difference* | Class or Interface
--- | ---
100 | android.support.v17.leanback.app.PlaybackOverlayFragment.InputEventHandler
100 | android.support.v17.leanback.app.PlaybackOverlaySupportFragment.InputEventHandler
50 | android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder
46 | android.support.v17.leanback.app.PlaybackControlSupportGlue
33 | android.support.v17.preference.LeanbackPreferenceFragment
27 | android.support.v17.leanback.app.MediaControllerGlue
25 | android.support.design.widget.Snackbar
23 | android.support.v17.leanback.app.BackgroundManager
20 | android.support.v17.leanback.widget.OnChildViewHolderSelectedListener
20 | android.support.v4.os.BuildCompat
16 | android.support.v17.leanback.widget.GuidedActionsStylist
14 | android.support.v17.leanback.widget.HeaderItem
14 | android.support.v17.leanback.widget.PlaybackControlsRow
14 | android.support.v17.leanback.widget.SpeechOrbView
13 | android.support.v17.leanback.app.PlaybackOverlayFragment
13 | android.support.v17.leanback.app.PlaybackOverlaySupportFragment
12 | android.support.v17.leanback.app.PlaybackControlGlue
9 | android.support.v7.widget.RecyclerView.RecycledViewPool
7 | android.support.v7.app.MediaRouteChooserDialog
6 | android.support.v17.leanback.widget.BrowseFrameLayout
6 | android.support.v7.widget.SnapHelper
6 | android.support.design.widget.Snackbar.Callback
5 | android.support.v17.leanback.app.BrowseFragment.MainFragmentRowsAdapter
5 | android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter
5 | android.support.v17.leanback.widget.RowPresenter.ViewHolder
5 | android.support.v17.leanback.widget.BaseCardView
5 | android.support.v17.leanback.app.SearchFragment
5 | android.support.v17.leanback.app.SearchSupportFragment
5 | android.support.v17.leanback.widget.SearchBar
5 | android.support.v4.app.FragmentActivity
4 | android.support.v17.leanback.app.BaseRowFragment
4 | android.support.v17.leanback.app.BaseRowSupportFragment
4 | android.support.v4.app.FragmentManager
4 | android.support.v4.media.session.MediaControllerCompat
3 | android.support.v17.leanback.widget.PlaybackControlsRowPresenter
3 | android.support.v7.preference.PreferenceManager
3 | android.support.v17.leanback.app.RowsFragment
3 | android.support.v17.leanback.app.RowsSupportFragment
2 | android.support.v17.leanback.app.BrowseFragment
2 | android.support.v17.leanback.app.BrowseSupportFragment
2 | android.support.v17.leanback.app.GuidedStepFragment
2 | android.support.v17.leanback.app.GuidedStepSupportFragment
2 | android.support.v7.media.MediaRouter.RouteInfo
2 | android.support.v4.provider.DocumentFile
2 | android.support.v17.leanback.widget.ObjectAdapter
1 | android.support.v7.media.MediaRouter
1 | android.support.v7.widget.LinearLayoutCompat
1 | android.support.design.widget.TextInputLayout
1 | android.support.v4.app.FragmentTransaction
1 | android.support.v4.app.Fragment
<1 | android.support.v7.widget.RecyclerView

* 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%.