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); }
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 } }); }
private void initView() { initview = true; viewRight = new ViewRight(context); viewRight.getBackground().setAlpha(238); }