gorbin / gorbin/ASNETutorial

Fragment vs Activity

未关闭
#11 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
99
派生
54
PR 合并指标
30 天内没有已合并 PR

描述

There is something I don't get it in here. Why is it that everything for the lib is created from a fragment.
Does is mean that if my login UI was in an activity, I will have to create a fragment so that I can create an instance of *_FacebookSocialNetwork *_ because it only receives a Fragment and a list of permissions required.
It seems the old version - which has a certain bug that was fixed with 0.3.3 - had this

``````
FacebookSocialNetwork fbNetwork = new FacebookSocialNetwork(socialNetworkManager, activity, fbScope);
``` but now all this is not there as of version 0.3.3.

Does anyone know any implementation that does not have a UI inflated inside a fragment? i.e. in an Activity ?
``````

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。