* Autofill suggestion container used to store information needed for each Autofill popup entry.
*/
public class AutofillSuggestion implements DropdownItem {
- final String mLabel;
- final String mSublabel;
- final int mUniqueId;
+ private final String mLabel;
+ private final String mSublabel;
+ private final int mSuggestionId;
/**
* Constructs a Autofill suggestion container.
* @param name The name of the Autofill suggestion.
* @param label The describing label of the Autofill suggestion.
- * @param uniqueId The unique id used to identify the Autofill suggestion.
+ * @param suggestionId The type of suggestion.
*/
- public AutofillSuggestion(String name, String label, int uniqueId) {
+ public AutofillSuggestion(String name, String label, int suggestionId) {
mLabel = name;
mSublabel = label;
- mUniqueId = uniqueId;
+ mSuggestionId = suggestionId;
}
@Override
return false;
}
- public int getUniqueId() {
- return mUniqueId;
+ public int getSuggestionId() {
+ return mSuggestionId;
}
}