gorbin / gorbin/ASNETutorial

Fragment vs Activity

Open
#11 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
99
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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 ?
``````

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.