onActivityResult method of your activity will be called. So handle your UI changes after posting in onActivityResult method
Which method is called after post is shared on google plus(Call back method) in Android
-
24-06-2022 - |
Question
In Android App, I follwed this tutorial : Share Post on google plus
@Override
public void onClick(View v) {
String tripDetails = "Test;
Intent shareIntent = new PlusShare.Builder(this)
.setText(tripDetails)
.setType("image/png")
.setContentDeepLinkId("Testing",
"Testing",
"Description.",
Uri.parse("https://www.example.com/image.png"))
.getIntent();
startActivityForResult(shareIntent, 0);
}
It runs successfully and post is also shared on google plus.
But I don't know which method is called after Post is shared on google plus and when it returns to application back. So do you know any call back method?
Any help will be appreciated.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow