How ruslanburlai/gpsnotebook works
GpsNotebook is a Xamarin.Forms GPS notepad for saving locations and visit reminders. The app initializes theme and authentication, then navigates to sign-in/registration or the map-and-pin workspace. Users can add, search, filter, and manage saved pins; account and pin services persist records through a SQLite repository, with pins scoped to the signed-in user. The tree also documents settings, QR scanning/sharing, and platform renderers. Edges rely on shown code, source-index references, or the README; unsampled UI wiring is not inferred.
Main entry points: App.xaml.cs App bootstrap · AddPinViewModel.cs Pin creation · AuthorizationService.cs Authorization service · PinModelService.cs Pin data service
Components 23
App navigation
- App bootstrap
GpsNotebook/GpsNotebook/App.xaml.cs - Sign-in and registration
GpsNotebook/GpsNotebook/View/LogInOrRegisterView.xaml.cs - Authentication view models
GpsNotebook/GpsNotebook/ViewModel/LogInOrRegisteredViewModel.cs
Location workflow
- Map workspace
GpsNotebook/GpsNotebook/View/MapTabView.xaml.cs - Map pin browsing
GpsNotebook/GpsNotebook/ViewModel/MapTabViewModel.cs - Add pin screen
GpsNotebook/GpsNotebook/View/AddPinView.xaml.cs - Pin creation
GpsNotebook/GpsNotebook/ViewModel/AddPinViewModel.cs - Pin list screen
GpsNotebook/GpsNotebook/View/PinTabView.xaml.cs - Pin list logic
GpsNotebook/GpsNotebook/ViewModel/PinTabViewModel.cs - Saved pin
GpsNotebook/GpsNotebook/Models/PinModel.cs - Pin categories
GpsNotebook/GpsNotebook/Models/CategoriesForPin.cs - QR scanning
GpsNotebook/GpsNotebook/View/ScanningQrCodeView.xaml.cs - QR pin sharing
GpsNotebook/GpsNotebook/Dialogs/SharePinViaQRDialogViewModel.cs
Identity and settings
- Authorization service
GpsNotebook/GpsNotebook/Services/AuthorizationService/AuthorizationService.cs - User account service
GpsNotebook/GpsNotebook/Services/UserModelService/UserModelService.cs - User account
GpsNotebook/GpsNotebook/Models/UserModel.cs - Local settings
GpsNotebook/GpsNotebook/Services/SettingsManager/SettingsManager.cs - Theme service
GpsNotebook/GpsNotebook/Services/AppThemeService/AppThemeService.cs
Data persistence
- Pin data service
GpsNotebook/GpsNotebook/Services/PinModelService/PinModelService.cs - SQLite repository
GpsNotebook/GpsNotebook/Services/RepositoryService/RepositoryService.cs
Platform integration
- Android host
GpsNotebook/GpsNotebook.Android/MainActivity.cs - iOS host
GpsNotebook/GpsNotebook.iOS/AppDelegate.cs
Other components
- App user
Connections 28
- App user → App bootstrap: opens
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → Sign-in and registration: routes unauthenticated
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → Map workspace: routes authorized
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → Authentication view models: registers navigation
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → Map pin browsing: registers navigation
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → Pin creation: registers navigation
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → Pin list logic: registers navigation
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → QR scanning: registers navigation
GpsNotebook/GpsNotebook/App.xaml.cs - App bootstrap → Theme service: sets startup theme
GpsNotebook/GpsNotebook/App.xaml.cs - Authentication view models → Authorization service: checks identity
- Map pin browsing → Pin data service: loads and filters
GpsNotebook/GpsNotebook/ViewModel/MapTabViewModel.cs - Pin creation → Pin data service: saves pin
GpsNotebook/GpsNotebook/ViewModel/AddPinViewModel.cs - Map pin browsing → Saved pin: uses pin data
GpsNotebook/GpsNotebook/ViewModel/MapTabViewModel.cs - Pin creation → Saved pin: creates pin data
GpsNotebook/GpsNotebook/ViewModel/AddPinViewModel.cs - Pin creation → Pin categories: uses categories
GpsNotebook/GpsNotebook/ViewModel/AddPinViewModel.cs - Authorization service → User account service: checks registration
GpsNotebook/GpsNotebook/Services/AuthorizationService/AuthorizationService.cs - Authorization service → Local settings: reads and sets user
GpsNotebook/GpsNotebook/Services/AuthorizationService/AuthorizationService.cs - User account service → SQLite repository: reads and writes users
GpsNotebook/GpsNotebook/Services/UserModelService/UserModelService.cs - User account service → User account: loads users
GpsNotebook/GpsNotebook/Services/UserModelService/UserModelService.cs - Pin data service → SQLite repository: reads and writes pins
GpsNotebook/GpsNotebook/Services/PinModelService/PinModelService.cs - Pin data service → Authorization service: scopes by user
GpsNotebook/GpsNotebook/Services/PinModelService/PinModelService.cs - SQLite repository → Saved pin: persists records
GpsNotebook/GpsNotebook/Services/RepositoryService/RepositoryService.cs - SQLite repository → User account: persists records
GpsNotebook/GpsNotebook/Services/RepositoryService/RepositoryService.cs - Theme service → Local settings: loads and saves theme
GpsNotebook/GpsNotebook/Services/AppThemeService/AppThemeService.cs - App user → QR scanning: scans pin code
- App user → QR pin sharing: shares pin
- Android host → App bootstrap: hosts app
- iOS host → App bootstrap: hosts app