Closed blonsky95 closed 4 years ago
Ok, tomorrow I'll think about this
So, add another button to day view in the bottom left corner
Props a dialog window to navigate - Displays current week, and then edit text which says go to: , has just one GO button
More or less getting there A general clean up is needed
However, log ptg, changing week number works but at certain weeks it loses its shit and stays in October or something like that, investigate that. Also find a way of updating the adapter so the current and adjacent fragments update.
Changing weeks works now, problem was that time in millis variable was Int and it was going out of range after 3+weeks time changes. It was changed to Long type.
Now the current and adjacent fragments need to be updated, notifyDataSetChanged doesn't work so will try out resetting like: yourPager.setAdapter(yourAdapter); yourPager.setCurrentItem(CurrentPosition);
Done, should add to the date the day of week, instead of the DAYOFMONTH-MONTH-YEAR so users immediately know if its Monday, Friday, Sunday....
Use dialog or something to navigate to different weeks