I am creating a login page which will have forgot password right now:
- Login Page is one
Activityand Forgot Password page is anotherActivity. - Each one calls an
AsyncTaskfor http post which returns ajsonresponse. - Hence I have callback listener in each `Activity.
- In the call back listener I get the
jsonresponse, which I parse in separateActivityfor each Login and separate one for Forgot password
I need to know whether its good practice to do this way or use fragments. Also any other better way to developing it?