Pergunta de entrevista da empresa PayPal

Look at the code (Activity or Fragment) and describe issues in this code, and what you would do better.

Resposta da entrevista

Sigiloso

20 de mar. de 2024

I explained why it is not a good idea to run networking code inside of a Lifecycle Observer like Activity/Fragment, and I explained how to use a ViewModel with a Repository layer.