Então Alex fiz aqui.
Por "sorte" minhas classes já implementavam o Parcelable então foi simples salvar e recuperar. :)
Em ter., 30 de mar. de 2021 às 13:36, Alex Baule <alexwbaule@gmail.com> escreveu:
Faz o saved, é bem simples de fazer.--Em ter., 30 de mar. de 2021 às 10:42, Felipe Aron <felipearon@gmail.com> escreveu:Galera, no meu app o cliente usa um leitor de cabo (OTG).--Toda vez que conecta ou desconecta o cabo a activity é recriada, perdendo os dados já passados.Eu não fiz o tratamento do savedInstanceState.Existe alguma opção para ignorar a recriação da tela, ou única forma é fazer todo o tratamento na savedInstanceState?--Developer & Digital Marketer
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CADxjQn-tokGKu2itrHYXQTfEPcaM5aWTFF%3DZnK85dpEGZvHg4w%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CAG4tsG6nFjH1RRyQ2vAZSp2V_9HzzD%3DtgZt20Qe%3DqHe41Qz-dA%40mail.gmail.com.
Developer & Digital Marketer
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CADxjQn8vrA_%3DosJYyZoAEZHwtAcoAZPF8f8mBz8wscCTnOm-7w%40mail.gmail.com.
0 comentários:
Postar um comentário