Reset/clear adapter then regenerate with new data
I have a calendar adapter that provides me the list for the days of a specific month and this month is changeable by pressing a left/right button. By default, the month is set based on the user's timezone.
Question: How do I clear/reset the adapter I called for the initialized list and give it a new value of month that it needs? Or there is a better logic move here? I'm still new to Android Development.
<a href="https://i.stack.imgur.com/9CaYT.gif" rel="nofollow noreferrer">Preview of my...