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

DisplayNameComparator(PackageManager pm)

Public methods

final int compare(ResolveInfo a, ResolveInfo b)

Inherited methods

Public constructors

DisplayNameComparator

Added in API level 1
public DisplayNameComparator (PackageManager pm)

Parameters
pm PackageManager

Public methods

compare

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

Parameters
a ResolveInfo

b ResolveInfo

Returns
int