@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); }
@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); }