Successful share intent for android

后端 未结 4 1771
长发绾君心
长发绾君心 2020-12-01 04:07

How can i tell if a user successfully completed a share intent? For instance if a user wanted to share an app via Facebook or Twitter.

Edit:

I am not looking

4条回答
  •  一向
    一向 (楼主)
    2020-12-01 05:03

    For twitter - the "data" object in OnActivityResult is null when the user cancels the share.

提交回复
热议问题