Per-app settings hint text show # of picked matches

This commit is contained in:
Matthew Wong 2015-11-07 17:31:11 -05:00
parent a22cd874fd
commit 7a9ed6897d

View file

@ -111,6 +111,10 @@ public class AutofillRecyclerAdapter extends RecyclerView.Adapter<AutofillRecycl
break;
default:
holder.secondary.setText("Match with " + preference.split("\n")[0]);
if ((preference.trim().split("\n").length - 1) > 0) {
holder.secondary.append(" and "
+ (preference.trim().split("\n").length - 1) + " more");
}
break;
}
}