| | |
| | | import com.bsk.zhangbo.demoforbsk.R;
|
| | | import cn.com.basic.face.adapter.AttendanceAdapter;
|
| | | import cn.com.basic.face.adapter.VisitAdapter;
|
| | | import cn.com.basic.face.base.MainUIBaseFragment;
|
| | | import cn.com.basic.face.base.LeftRightBaseFragment;
|
| | | import cn.com.basic.face.base.MainActivity;
|
| | |
|
| | | import com.camnter.easyrecyclerview.holder.EasyRecyclerViewHolder;
|
| | |
| | | * Created by Sinoe on 2017/2/23.
|
| | | */
|
| | |
|
| | | public class AttendanceFragment extends MainUIBaseFragment implements EasyRecyclerViewHolder.OnItemClickListener{
|
| | | public class AttendanceFragment extends LeftRightBaseFragment implements EasyRecyclerViewHolder.OnItemClickListener{
|
| | | private View mViewLeft,mViewRight;
|
| | | private EasyRecyclerView mRightRecyclerView,mLeftRecyclerView;
|
| | | private AttendanceAdapter mRightAdapter;
|
| | |
| | | public static AttendanceFragment newInstance(){
|
| | | return new AttendanceFragment();
|
| | | }
|
| | | @Override
|
| | |
|
| | | public View addLeftLayout() {
|
| | | mViewLeft = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_attendance_left, null);
|
| | | mLeftRecyclerView = (EasyRecyclerView) mViewLeft.findViewById(R.id.visitor_manager_recycler);
|
| | |
| | | return mViewLeft;
|
| | | }
|
| | |
|
| | | @Override
|
| | |
|
| | | public View addRightLayout() {
|
| | | mViewRight = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_attendance_right, null);
|
| | | mRightRecyclerView = (EasyRecyclerView) mViewRight.findViewById(R.id.attendance_recycler);
|