Skip to content

Most visited

Recently visited

navigation
Added in API level 1

ResolveInfo.DisplayNameComparator

public static class ResolveInfo.DisplayNameComparator
extends Object implements Comparator<ResolveInfo>

java.lang.Object
   ↳ android.content.pm.ResolveInfo.DisplayNameComparator


Summary

Public constructors

ResolveInfo.DisplayNameComparator(PackageManager pm)

Public methods

final int compare(ResolveInfo a, ResolveInfo b)

Inherited methods

From class java.lang.Object
From interface java.util.Comparator

Public constructors

ResolveInfo.DisplayNameComparator

Added in API level 1
ResolveInfo.DisplayNameComparator (PackageManager pm)

Parameters
pm PackageManager

Public methods

compare

Added in API level 1
int compare (ResolveInfo a, 
                ResolveInfo b)

Parameters
a ResolveInfo
b ResolveInfo
Returns
int
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.