Created
June 26, 2017 06:24
-
-
Save kalvian1060/5293cda913a7459eeeda26fbdf749c04 to your computer and use it in GitHub Desktop.
Tambahkan pada bagian oncreate
This file contains hidden or 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
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
FacebookSdk.sdkInitialize(getApplicationContext()); | |
callbackManager=CallbackManager.Factory.create(); | |
setContentView(R.layout.activity_main); | |
tvInfo=(TextView)findViewById(R.id.tvInfo); | |
btnLogin=(LoginButton)findViewById(R.id.btnLogin); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment