demo/src/com/socialize/demo/snippets/SocializeInitSnippetA.java
@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	
	// Initialize socialize
	Socialize.initAsync(this, new SocializeInitListener() {
		
		@Override
		public void onError(SocializeException error) {
			// Handle error
		}
		
		@Override
		public void onInit(Context context, IOCContainer container) {
			// If you want to access Socialize directly, do it here
		}
	});
}
@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	
	// Initialize socialize
	Socialize.initAsync(this, new SocializeInitListener() {
		
		@Override
		public void onError(SocializeException error) {
			// Handle error
		}
		
		@Override
		public void onInit(Context context, IOCContainer container) {
			// If you want to access Socialize directly, do it here
		}
	});
}
@ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; // Initialize socialize Socialize . initAsync ( this , new SocializeInitListener ( ) { @ Override public void onError ( SocializeException error ) { // Handle error } @ Override public void onInit ( Context context , IOCContainer container ) { // If you want to access Socialize directly, do it here } } ) ; }
begin-snippet-0
begin - snippet - 0