@Override
  protected void onStart() {

    // TODO Auto-generated method stub

    super.onStart();

    populaListView();
  }
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    requestWindowFeature(Window.FEATURE_NO_TITLE);
    // setActionBarContentView(R.layout.buscar_categoria);

    initActionBar();
    initQuickActionBar();
  }
Beispiel #3
0
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    // setContentView(R.layout.main);

    ItemAdapter adapter;
    try {
      adapter = ItemAdapter.createFromXml(this, R.xml.events_items);
      setListAdapter(adapter);
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
 @Override
 protected void onStop() {
   // TODO Auto-generated method stub
   super.onStop();
   onDestroy();
 }