问题
I stuck on a CalendarView, I need to do something like:
How can I achieve this? Calling instance for each month is obviously bad idea...
回答1:
You can implement your own calendar view using a ListView where each Item on your ListView is a month, you don't need to instantiate each month with the ListView, you will only instantiate like 3 or 4 months depending on your implementation.
来源:https://stackoverflow.com/questions/21137186/android-scrollable-calendar-with-full-year