refresh list after on item Click
This commit is contained in:
parent
6e2a4a6aee
commit
8661d85218
@ -128,9 +128,10 @@ public class AlarmActivity extends Activity {
|
|||||||
setConvertViewAlarm(arg1);
|
setConvertViewAlarm(arg1);
|
||||||
// save position
|
// save position
|
||||||
ackPosition = position;
|
ackPosition = position;
|
||||||
if (!AppParams.DEMO)
|
if (!AppParams.DEMO) {
|
||||||
|
getParentTab().getAlarms(AppParams.USERID);
|
||||||
setACK(getAllAlarms().get(position).idx, getAllAlarms().get(position).type, getAllAlarms().get(position).unitName);
|
setACK(getAllAlarms().get(position).idx, getAllAlarms().get(position).type, getAllAlarms().get(position).unitName);
|
||||||
else {
|
} else {
|
||||||
getAllAlarms().get(position).ack = 1;
|
getAllAlarms().get(position).ack = 1;
|
||||||
updateResultsInUi("else");
|
updateResultsInUi("else");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user