gorbin / gorbin/ASNETutorial

Fragment vs Activity

Aperta
#11 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
99
Fork
54
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.