| 223 | } |
| 224 | |
| 225 | public static <T> void many(final String title, final String topCaption, int cnt, final List<T> sourceChoices, CardView referenceCard, final Consumer<List<T>> callback) { |
| 226 | order(title, topCaption, cnt, cnt, sourceChoices, null, referenceCard, callback); |
| 227 | } |
| 228 | |
| 229 | public static <T> void many(final String title, final String topCaption, int min, int max, final List<T> sourceChoices, CardView referenceCard, final Consumer<List<T>> callback) { |
| 230 | int m1 = max >= 0 ? sourceChoices.size() - max : -1; |