Search in sources :

Example 1 with SocialAccountLoaderManager

use of cl.smartcities.isci.transportinspector.gamification.SocialAccountLoaderManager in project androidApp by InspectorIncognito.

the class LoginStartTask method start.

@Override
public void start() {
    SocialAccountLoaderManager manager = new SocialAccountLoaderManager();
    manager.loadAccount(new SocialAccountLoaderManager.LoaderInterface() {

        @Override
        public void onLoad(SocialMediaAccount account, String nickname) {
            TranSappAccountManager.loginWithTransapp(LoginStartTask.this, nickname, account);
        }

        @Override
        public void onError() {
            ready();
        }
    });
}
Also used : SocialMediaAccount(cl.smartcities.isci.transportinspector.gamification.socialAccount.SocialMediaAccount) SocialAccountLoaderManager(cl.smartcities.isci.transportinspector.gamification.SocialAccountLoaderManager)

Aggregations

SocialAccountLoaderManager (cl.smartcities.isci.transportinspector.gamification.SocialAccountLoaderManager)1 SocialMediaAccount (cl.smartcities.isci.transportinspector.gamification.socialAccount.SocialMediaAccount)1