-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
Where to place code to 'show more options' #140
Comments
Cant you add a button in the bottom and change the data source? |
@rodriar Not sure I understand. I tried adding a dummy item which was meant to close the menu, requery new data then open it up again, but that was really what my question was about. I didn't know where this code should live. ie the action is this.... actionController.addAction(Action(ActionData(title: "None of the above", subtitle: "", image: tempImg!, uid: "no-id"), style: .default, handler: { action in |
Hey, you cant update the actioncontroller. Use the handler to fetch your data and create a new action controller with the new data and show it
Please keep this kind of questions for Stack overflow. |
My twitter style popup displays a list of 10 items pulled from a 'paged' api. If one the 10 is not the right one then my app needs to show the next 10 items, this is done by querying the API again for page 2. Where is the best place to put this code?
The text was updated successfully, but these errors were encountered: