refresh list after on item Click

This commit is contained in:
CiufudeanDani 2022-04-11 14:01:13 +03:00
parent 6e2a4a6aee
commit 8661d85218

View File

@ -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");
} }