Ejemplo n.º 1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   View view = new Banner(this);
   view.setOnClickListener(this);
   setContentView(view);
   Log.d(TAG_NAME, "Banner View activated successfully!");
 }
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setActionBarTitle("库存报警");

    setContentView(R.layout.container);
    PageListFragment frag = new PageListFragment("warning_product", R.layout.list_item_product);
    addContainerFragment(frag);
  }
Ejemplo n.º 3
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   System.gc();
 }