示例#1
0
  @Override
  public void addSecondHSLChildViews(
      List childList, float showCount, View.OnClickListener onClickListener) {
    PGEditBaseHoriScrollItemAdapter baseHoriScrollItemAdapter =
        new PGEditHSLHoriScrollItemAdapter();
    baseHoriScrollItemAdapter.setContext(mActivity);
    baseHoriScrollItemAdapter.setData(childList);
    mSecondHorizontalLayout.setItemCountOnScreen(showCount);
    baseHoriScrollItemAdapter.setOnItemViewClickListener(onClickListener);

    mSecondHorizontalLayout.setAdapter(baseHoriScrollItemAdapter);
  }
示例#2
0
  @Override
  public void showFirstImageViewPhoto(
      List mPGEditMenusBeanList, float showCount, View.OnClickListener onClickListener) {

    mActivity.findViewById(R.id.step_layout).setVisibility(View.VISIBLE);
    mActivity.findViewById(R.id.first_top).setVisibility(View.VISIBLE);

    PGEditBaseHoriScrollItemAdapter baseHoriScrollItemAdapter =
        new PGEditBaseHoriScrollItemAdapter();
    baseHoriScrollItemAdapter.setContext(mActivity);
    baseHoriScrollItemAdapter.setData(mPGEditMenusBeanList);
    mFirstHorizontalLayout.setItemCountOnScreen(showCount);
    baseHoriScrollItemAdapter.setOnItemViewClickListener(onClickListener);

    mFirstHorizontalLayout.setAdapter(baseHoriScrollItemAdapter);
  }