user2536851
user2536851

Reputation: 314

Android how to handle data flow in UI

I have an Activity A

User clicks on a button in Activity A, it starts Activity B in library

The user interacts with Activity B in library and on clicking a Linkedin login button in it,

how to pass control to Activity A so it can do the login related logic and then return to Activity B.

Upvotes: 0

Views: 82

Answers (2)

ZeroOne
ZeroOne

Reputation: 9117

i assume that.. Activity A -> Activity B, then click Login -> Activity A..

all you need to do is.. use LinkedIn Callback method after registration. inside that method, Intent to Activity A..

Upvotes: 1

bshears
bshears

Reputation: 1139

I don't know what the library is, but I presume that it should return some result. Try with startActivityForResult method inside Activity A.

For more details please read Getting result from an Activity

Upvotes: 0

Related Questions