I have four activity Activity1,Activity2,Activity3,Activity4. Activity2 has some operation where we need to communicate with server that means we will send some request and according to request response will come.
What should be approach for this kind of use-case.?
In Activity2 On button click:
1) use AsynchTask
to fetch data.
2) use startActivityForResult to start activity3.
3) and onActivityResult
you can check your result