- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
public void reset() {
if (types.size() > 0) {
for (int i = 0; i < types.size(); i++) {
if (types.get(i).getChequeTypeId().equals(1L)) {
if (parent.getItemCount() > i
&& parent.getSelectedIndex() != i) {
parent.setSelectedIndex(i);
}
if (selectedType == null)
selectedType = getElementAt(i).toString();
return;
}
}
parent.setSelectedIndex(0);
if (selectedType == null)
selectedType = getElementAt(0).toString();
}
}