open-keychain/extern/MaterialChipsInput/src/main/java/com/pchmn/materialchips/model/Chip.java
2018-07-04 13:59:21 +02:00

40 lines
758 B
Java

package com.pchmn.materialchips.model;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
public class Chip implements ChipInterface {
private Object id;
private String label;
private String info;
public Chip(@NonNull Object id, @NonNull String label, @Nullable String info) {
this.id = id;
this.label = label;
this.info = info;
}
public Chip(@NonNull String label, @Nullable String info) {
this.label = label;
this.info = info;
}
@Override
public Object getId() {
return id;
}
@Override
public String getLabel() {
return label;
}
@Override
public String getInfo() {
return info;
}
}