Esempio n. 1
0
  private void initVaule() {

    mViewArray.add(viewRight);
    ArrayList<String> mTextArray = new ArrayList<String>();
    mTextArray.add("");
    expandTabView.setValue(mTextArray, mViewArray);
    expandTabView.setTitle(viewRight.getShowText(), 2);
    // expandTabView.setBackground(background);

  }
Esempio n. 2
0
  private void initListener() {

    viewRight.setOnSelectListener(
        new ViewRight.OnSelectListener() {

          @Override
          public void getValue(String distance, String showText, int id) {
            onRefresh(viewRight, showText, id);
          }

          @Override
          public void getValue(String distance, String showText) {
            // TODO Auto-generated method stub

          }
        });
  }
Esempio n. 3
0
 private void initView() {
   initview = true;
   viewRight = new ViewRight(context);
   viewRight.getBackground().setAlpha(238);
 }