コード例 #1
0
 public EventController(
     Activity activity, RelativeLayout titleLayout, LinearLayout commentLayout) {
   this.activity = activity;
   engine = NewBornApplication.getDbEngine();
   prefEditor = NewBornApplication.getPrefEditor();
   this.comment = (EditText) commentLayout.findViewById(R.id.comment_edit_text);
   this.title = (TextView) titleLayout.findViewById(R.id.title);
   titleImage = (ImageView) titleLayout.findViewById(R.id.dialog_icon);
 }
コード例 #2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   prefEditor = NewBornApplication.getPrefEditor();
 }
コード例 #3
0
 public GraphDataProcessor(DbEngine engine) {
   this.engine = engine;
   prefEditor = NewBornApplication.getPrefEditor();
 }