Ejemplo n.º 1
0
 public void init(String type) {
   mStartType = type;
   removeAllViews();
   Map<String, Object> m = new HashMap<String, Object>();
   m.put("type", type);
   if (mFactory != null) {
     View v = mFactory.getView(m, getContext());
     if (v != null) {
       PropotionerView view;
       view = new PropotionerView(v, this);
       view.init();
       this.addView(view);
       view.enter();
     }
   }
 }