How do I implement view recycling mechanism for PagerAdapter?
问题 I have a pager adapter that suppose to inflate a complex view representing a calendar. It takes around ~350 ms to inflate each year of the calendar. To improve performance I would like to implement the same mechanism that exists in the ListView array adapter of recycling views ( convertView parameter in getView() ). Here is my current getView() from the adapter. @Override protected View getView(VerticalViewPager pager, final DateTileGrid currentDataItem, int position) { mInflater =