Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public View onCreateView(LayoutInflater inflater, ViewGroup container,
- Bundle savedInstanceState) {
- // View view = inflater.inflate(R.layout.fragment_recyclerview, container, false);
- int id = 0;
- switch (mType) {
- case JOB_FEED:
- id = R.layout.fragment_recyclerview;
- break;
- case MAP:
- id = R.layout.fragment_map;
- break;
- case APPLIED:
- id = R.layout.fragment_recyclerview;
- break;
- }
- View view = inflater.inflate(id, container, false);
- return view;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement