refresh list after on item Click

This commit is contained in:
CiufudeanDani 2022-04-11 14:01:13 +03:00
parent 6e2a4a6aee
commit 8661d85218
1 changed files with 3 additions and 2 deletions

View File

@ -128,9 +128,10 @@ public class AlarmActivity extends Activity {
setConvertViewAlarm(arg1);
// save 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);
else {
} else {
getAllAlarms().get(position).ack = 1;
updateResultsInUi("else");
}