gorbin / gorbin/ASNETutorial

Fragment vs Activity

オープン
#11 コメント 1 件 リアクション 2 件 担当者 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 を短くまとめたダイジェスト。