Search in sources :

Example 1 with DummyComputer

use of com.octo.android.sample.model.DummyComputer in project Quality-Tools-for-Android by stephanenicolas.

the class HelloAndroidActivity method onCreate.

// ----------------------------------
// LIFE CYCLE
// ----------------------------------
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    Log.i(TAG, "onCreate");
    setContentView(R.layout.main);
    button = (Button) findViewById(R.id.button_main);
    textView = (TextView) findViewById(R.id.textview_hello);
    button.setOnClickListener(new ButtonClickListener());
    computer = new DummyComputer();
}
Also used : DummyComputer(com.octo.android.sample.model.DummyComputer)

Aggregations

DummyComputer (com.octo.android.sample.model.DummyComputer)1