It seems that roboguice can only inject views from the contentView defined in onCreate(...) activity. Outside of onCreate() , for example, if I have my own custom dialog that also has a content view (for example, dialog.setContentView(R.layout.dialog_layout); ), how can I embed views from this dialog_layout into my activity? (I got null when I directly insert dialog views into the action)
source share