Posts by Alex • 158 points
2 posts
-
13
votes1
answer10799
viewsA: CPF/Cnpj Mask in Edittext
You’re missing a default on your switch, try it like this: public abstract class CpfCnpjMaks { private static final String maskCNPJ = "##.###.###/####-##"; private static final String maskCPF =…
-
1
votes1
answer83
viewsQ: How to know when a retrofit call is completed in order to start an Activity?
I have two calls (Call) from Retrofit 2, one that downloads a Config object, and one that downloads a list of Entries. I need to know when those two calls are finished, so I can call a new one…