-
Notifications
You must be signed in to change notification settings - Fork 16
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
Listen to all PendingTask updates by a piece of data instead of by ID. #21
Comments
One thought that I had was that you could have any class, give it to Wendy saying, "Map this object to this PendingTask" where Wendy would then keep a reference to that object (via the object's class name perhaps) and the task_id of the PendingTask. Example: I have a model, It would be a pain for the developer to have to hold onto reference of 1+ separate Potential issue: What if the developer later on devices to rename Maybe I create an annotation processor? Be able to have a model have an annotation saying what |
@levibostian we already have the |
@Grohden I edited the description of this issue because I feel I did not do a good job originally explaining it. Read the edited description and see if it makes sense to you. Great suggestion about using the I am not a fan of adding more and more listeners to the For now, adding a |
From the suggestion by @Grohden in this issue, I will close this issue at this time and assume that this new feature request issue will solve this problem. We can re-open this issue if this feature request does not solve the problem or there is another idea brought up. |
Let's say that you are creating vacation planning app. On the main screen, you have a list of all of the different vacations that you are planning on going on.
When you click on one of the vacation ideas in the list, you are taken to a new list that lists your itinerary. One list item per day of your vacation. Inside of each day you can add text and upload images.
This mobile app uses Wendy to allow users to create new vacations, add or remove days to their itinerary, add text or images to the itinerary.
In the main list UI of the app, I would like to show a progress bar for each vacation idea that has any Wendy
PendingTask
s that have not been successfully executed yet. This is to tell the user they have unsaved changes within the app.I am proposing adding the ability within Wendy to listen to each of the vacation ideas individually and be notified if they have any pending tasks or not for each of them.
The text was updated successfully, but these errors were encountered: