Example #1
0
 private void initWorkspace() {
   int total = TOTAL_HEAD_IMAGES_SHOW_COUNT;
   mDocIndicator.setTotal(total);
   //		mDocIndicator.setVisibility(View.GONE);
   CellLayout cellLayout = null;
   for (int i = 0; i < total; i++) {
     cellLayout = (CellLayout) mInflater.inflate(R.layout.recommand_item, null);
     mWorkspace.addView(cellLayout);
   }
 }
Example #2
0
 @Override
 public void onUpdateCurrent(int current) {
   // TODO Auto-generated method stub
   mDocIndicator.setCurrent(current);
 }
Example #3
0
 @Override
 public void onUpdateTotalNum(int total) {
   // TODO Auto-generated method stub
   mDocIndicator.setTotal(total);
 }