Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

PackageItemInfo.DisplayNameComparator

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

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


Summary

Public constructors

PackageItemInfo.DisplayNameComparator(PackageManager pm)

Public methods

final int compare(PackageItemInfo aa, PackageItemInfo ab)

Inherited methods

Public constructors

PackageItemInfo.DisplayNameComparator

added in API level 1
public PackageItemInfo.DisplayNameComparator (PackageManager pm)

Parameters
pm PackageManager

Public methods

compare

added in API level 1
public final int compare (PackageItemInfo aa, 
                PackageItemInfo ab)

Parameters
aa PackageItemInfo

ab PackageItemInfo

Returns
int