Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

temporarily remove @ContentView from demo, it's causing problems with…

… annotation processing, not sure why yet
  • Loading branch information...
commit ee7cf0d05847cb4a69d7084e87f90e5c9a24eaa2 1 parent f58c49a
Mike Burton authored
View
2  astroboy/src/main/java/org/roboguice/astroboy/activity/AstroboyMasterConsole.java
@@ -31,7 +31,6 @@
* an object's default constructor, versus when it does something "special"
* like call getSystemService()
*/
-@ContentView(R.layout.main)
public class AstroboyMasterConsole extends RoboActivity {
// Various views that we inject into the activity.
@@ -57,6 +56,7 @@
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); // @Inject, @InjectResource, and @InjectExtra injection happens during super.onCreate()
+ setContentView(R.layout.main);
sayText.setOnEditorActionListener(new OnEditorActionListener() {
public boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) {
Please sign in to comment.
Something went wrong with that request. Please try again.