trying to set value of a mutablelivedata and observe it in a loop(forEach),but i get duplicate value,i tried to use singleEvent but then i get one value (last value of loop),what should i do?pov: trying to insert some data to room by those
What exactly you need to do?
need to set value also observe it in a loop,in my loop i set different value everytime but when i observe it ,all values are duplicated
Pls check private chat
Обсуждают сегодня