-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thomas Pronold
committed
Jun 5, 2016
1 parent
014892f
commit f808ccc
Showing
33 changed files
with
920 additions
and
787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
android/src/de/tomgrill/gdxfacebook/android/AndroidFacebookLoader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package de.tomgrill.gdxfacebook.android; | ||
|
||
import com.badlogic.gdx.Gdx; | ||
import com.badlogic.gdx.backends.android.AndroidApplication; | ||
import de.tomgrill.gdxfacebook.core.GDXFacebookConfig; | ||
import de.tomgrill.gdxfacebook.core.GDXFacebook; | ||
import de.tomgrill.gdxfacebook.core.FacebookLoader; | ||
|
||
public class AndroidFacebookLoader implements FacebookLoader { | ||
|
||
@Override | ||
public GDXFacebook load(GDXFacebookConfig config) { | ||
|
||
AndroidApplication androidApplication = (AndroidApplication) Gdx.app; | ||
AndroidGDXFacebook androidGDXFacebook = new AndroidGDXFacebook(androidApplication, config); | ||
androidApplication.addAndroidEventListener(androidGDXFacebook); | ||
|
||
return androidGDXFacebook; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package de.tomgrill.gdxfacebook.core; | ||
|
||
public interface FacebookLoader { | ||
GDXFacebook load(GDXFacebookConfig config); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.