How georgealam37/abn-amro-android-app works
This Expo app lets a user browse ABN AMRO GitHub repositories, select one, inspect its details, and open its GitHub page externally. The list screen fetches the first page from GitHub when connected and caches results in SQLite; offline, it attempts to display cached entries. App.js registers the two screens, and the list passes the selected repository to the detail screen. The README describes a paginated list, but the sampled implementation requests only page 1. The graph reflects the shown calls; no other source was sampled.
Main entry points: RepoListScreen.js Repository list · RepoDetailScreen.js Repository details · database.js Repository cache · App.js Navigation shell
Components 9
App navigation
- Navigation shell
App.js
Repository listing
- Repository list
RepoListScreen.js - GitHub API
- Repository cache
database.js - SQLite store
database.js
Repository details
- Repository details
RepoDetailScreen.js - Network status
- External browser
Other components
- User
Connections 12
- User → Navigation shell: opens
- Navigation shell → Repository list: registers
App.js - Navigation shell → Repository details: registers
App.js - Repository list → GitHub API: fetches page
RepoListScreen.js - Repository list → Repository cache: initializes
RepoListScreen.js - Repository list → Repository cache: saves results
RepoListScreen.js - Repository list → Repository cache: loads offline
RepoListScreen.js - Repository cache → SQLite store: reads and writes
database.js - Repository list → Repository details: passes selection
RepoListScreen.js - Repository details → External browser: opens repository URL
RepoDetailScreen.js - Repository details → Network status: subscribes
RepoDetailScreen.js - Repository list → Network status: checks connectivity
RepoListScreen.js