Пример #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);
  }
Пример #3
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   System.gc();
 }