Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh Dataset #15

Open
simongiesen opened this issue Dec 13, 2015 · 11 comments
Open

Refresh Dataset #15

simongiesen opened this issue Dec 13, 2015 · 11 comments

Comments

@simongiesen
Copy link

Hi,

perhaps I am too silly: How to refresh a dataset? Say, according to your sample app you use List eventList = new ArrayList<>();

and with
init( ...) you start. But what's about adding more events to the eventList later on and "informing" the Calendar to repaint or paint the newly added events?

@Tibolte
Copy link
Owner

Tibolte commented Dec 14, 2015

That's not a silly question, it's a good point we should add a method in order to add more events and refresh the data set. Good catch!

@simongiesen
Copy link
Author

Great! I will work on it! BTW: When using init() for a refresh after an insert or delete the calendar is not being repaint correctly with it dimensions, no matter if match_parent or fill_parent was used!

@amannepid
Copy link
Contributor

I agree with @simongiesen , after some work on agenda data, and trying to refresh the calendar, the calendar takes almost half the size and does not scrolls properly as well.

It would be a great help if you guys fix this issues asap.

@ankit2771991
Copy link

yup facing same problem

@amannepid
Copy link
Contributor

Did anyone got work around ?

@simongiesen
Copy link
Author

this needs some basic rework. I stick on it.

  • Events for data refresh and data has changed
  • Dataset refresh / reload

@amannepid
Copy link
Contributor

@simongiesen Did you solved it ? Any suggestions or snippets ?

@simongiesen
Copy link
Author

ongoing work!

@amannepid
Copy link
Contributor

@simongiesen please suggest the workaround you will find. I need it in my current project. :)

@miguelvictor
Copy link

any progress on this ?

@amannepid
Copy link
Contributor

Hi @Tibolte , I have opened pull request #29, have you checked it out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants