Back to project page u2020.
The source code is released under:
Apache License
If you think the Android project u2020 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jakewharton.u2020.ui; //w w w . j av a2 s . c om import android.app.Activity; import android.os.Bundle; import android.view.ViewGroup; import com.jakewharton.u2020.R; import com.jakewharton.u2020.U2020App; import javax.inject.Inject; public class MainActivity extends Activity { @Inject AppContainer appContainer; private ViewGroup container; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); U2020App app = U2020App.get(this); app.inject(this); container = appContainer.get(this); getLayoutInflater().inflate(R.layout.gallery_view, container); } }