Build: API Connection Demo
This screen shows how a React Native app connects to a backend using an API to fetch and display data.
Target UI
------------------------- | API Connection Demo | |-----------------------| | [Fetch Data] | | | | Data will appear here | | | -------------------------
Add a button labeled 'Fetch Data'.
When tapped, fetch data from a public API backend.
Display the fetched data below the button.
Show a loading indicator while fetching.
Handle errors by showing an error message.