I would like to write app with some activities in ViewPager, so I'm writing smth like this:
calendarView = inflater.inflate(R.layout.calendar, null);
calendarView.setTag(getString("tag"));
Initing of a single view is quite a lot code. In fact I have 3 views, so initing of all of them looks like terrible. I'm just curious are there any other (correct) way of dealing with ViewPager?