Facebook sharing using Fragments

后端 未结 1 416
有刺的猬
有刺的猬 2021-01-23 08:41

I am using Facebbok sharing in my app,i have one listview and in my list item i have one Button,on click of the Button i am t

相关标签:
1条回答
  • 2021-01-23 09:16

    Override this method on your main activity

     @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
    
        TestFrag demoFragment = (TestFrag) getSupportFragmentManager().findFragmentByTag("test");
        demoFragment.onActivityResult(requestCode, resultCode, data);
    }
    

    after your fragment activity result call

    0 讨论(0)
提交回复
热议问题