beeware / toga

A Python native, OS native GUI toolkit.
https://toga.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
4.31k stars 668 forks source link

Remove extra android dependency #2595

Closed gwen-sarapata closed 4 months ago

gwen-sarapata commented 4 months ago

This change allows Android builds to only need SwipeRefreshLayout when using DetailedList. DetailedList will not error if SwipeRefreshLayout is not installed, but will show an error to update dependencies if the widget is used without the import.

The SwipeRefreshLayout dependency was removed from the pyproject.toml on all examples files that do not use DetailedList.

This removes needing the dependency on every Android app, and can now only require the dependency when using the widget DetailedList.

This relates to the issue: Soften runtime requirement for Android SwipeRefreshLayout #2454

PR Checklist: