| | |
| | | import com.bsk.zhangbo.demoforbsk.R;
|
| | | import com.lidroid.xutils.ViewUtils;
|
| | |
|
| | | /**
|
| | | * Created by Administrator on 2017/2/20 0020.
|
| | | */
|
| | |
|
| | | public abstract class LeftRightBaseFragment extends BaseFragment{
|
| | | private View frameView;
|
| | |
|
| | |
| | | rightView = LayoutInflater.from(getActivity()).inflate(getLeftRightLayoutIds()[1],null);
|
| | | ViewUtils.inject(this, rightView);
|
| | | rightFrameLayout.addView(rightView);
|
| | | } else {
|
| | | leftFrameLayout.addView(addLeftLayout());
|
| | | rightFrameLayout.addView(addRightLayout());
|
| | | }
|
| | | addLeftLayout();
|
| | | addRightLayout();
|
| | |
|
| | | }
|
| | |
|
| | | public int[] getLeftRightLayoutIds() {
|