Commit Graph
88 Commits
Author SHA1 Message Date
Arty Bishop efdb9fe7fc Significantly revamped the recycler behaviour. Now accurately showing the satellites currently overhead and their pass progress, removing them from the list after the pass is finished. 2020-01-12 10:37:41 +00:00
Arty Bishop c68eff90a5 Added Starlink TLE url for tests because of their frequent passes. Moved findViewByIds from the recycler adapter to the ViewHolder. 2020-01-10 09:46:17 +00:00
Arty Bishop 504fabd8ca Refactored timer behaviour. Now it's always showing AOS time for the next upcoming pass. 2020-01-05 20:04:58 +00:00
Arty Bishop e8394aaf7d Added completed (no longer needed) passes removal from the resulting PassList 2020-01-05 17:20:13 +00:00
Arty Bishop 80430df1cd Got rid of SatNotFoundExceptions in WorldMapFragment. Minor refactoring. 2020-01-04 18:13:58 +00:00
Arty Bishop f9438eb5f7 Added preferences values checks against null 2020-01-03 18:57:02 +00:00
Arty Bishop 3f96fb0933 Drawer buttons are now disabled till their commands are fully executed 2020-01-03 18:17:20 +00:00
Arty Bishop ba7f3f432e Added PassPrefs dialog entered values sanity check 2020-01-03 14:09:40 +00:00
Arty Bishop 5737023389 Added SettingsFragment entered values sanity check 2020-01-03 13:43:06 +00:00
Arty Bishop 37a567b47f Switched to SafeArgs plugin. Libraries update. 2020-01-03 11:48:27 +00:00
Arty Bishop 807b5a0d67 Further refactoring. Restored the SatPass preferences dialog. Code cleanup. 2019-12-29 21:42:37 +00:00
Arty Bishop bb8a060ef3 Added SwipeToRefresh layout for the passes recycler 2019-12-28 18:17:36 +00:00
Arty Bishop 3f125602cf Changes to the satPass cardView appearance and the worldMap background. Additional textView for the catNum ID and a progressBar for the pass progress. 2019-12-28 15:04:16 +00:00
Arty Bishop 5e53bb9db9 Now downloading TLE files by the list of URLs and using coroutines. 2019-12-27 20:02:18 +00:00
Arty Bishop 0b93780d7c Minor refactoring. Changes to the app name and the package. 2019-12-27 19:56:58 +00:00
Arty Bishop fe7ee3cb03 Added splash screen. Minor refactoring. 2019-12-26 20:46:12 +00:00
Arty Bishop 0d5c84ef43 Minor PolarView drawing refactoring, removed unnecessary objects 2019-12-22 21:44:10 +00:00
Arty Bishop 158fb84f5b Drawing all shortlisted satellites now, but showing the ground track only for the selected one. 2019-12-22 21:25:16 +00:00
Arty Bishop ac56db3a56 Showing the name of the selected sat on the WorldMap now 2019-12-22 19:50:31 +00:00
Arty Bishop 4f5ce50c56 Removed unnecessary object allocations during onDraw in WorldMapFragment 2019-12-22 17:30:29 +00:00
Arty Bishop 384613d155 Minor fixes for satellite track and footprint drawing 2019-12-18 10:49:34 +00:00
Arty Bishop ccd92fd075 Removed the buttons from the WorldMap sat selection dialog to free up some screen space. Dismissing the dialog straight after the selection is made. Minor fixes. 2019-12-16 10:41:01 +00:00
Arty Bishop 8fe55b78af Drawing text at ground station position now 2019-12-16 08:08:43 +00:00
Arty Bishop 505c98b156 Added licences library dep, removed workManager dep as not needed 2019-12-15 17:42:41 +00:00
Arty Bishop 704b06343d Added GPL-2.0 header and a copyright notice 2019-12-15 11:34:32 +00:00
Arty Bishop d0c7dd62e8 Implemented a temporary but functional way to show passes of the selected satellites on the WorldMap 2019-12-13 10:25:09 +00:00
Arty Bishop beda26ac99 Now using the user defined updateFreq preference for views invalidation 2019-12-12 10:31:07 +00:00
Arty Bishop 171b65a314 Now showing the ground station position on the MapFragment 2019-12-11 10:29:46 +00:00
Arty Bishop 8bbd7cb4d2 Now using theme colors for RadarView and WorldMapView 2019-12-10 10:45:01 +00:00
Arty Bishop 4d3930db89 Implemented satellite selection save and load between app launches. Some code move and cleanup. 2019-12-10 10:05:39 +00:00
Arty Bishop 928ccd4991 Updated TLE file update, save and load logic 2019-12-09 08:53:57 +00:00
Arty Bishop d8bb1ae796 Minor cleanup 2019-12-07 18:35:07 +00:00
Arty Bishop 571164cdd5 Removed PassPref edit dialog. Access to PassPrefs is now via Settings menu. 2019-12-07 18:17:43 +00:00
Arty Bishop b5e78a8dba Switched to (quite inefficient) AndroidX Preference library for prefs handling 2019-12-07 17:11:06 +00:00
Arty Bishop a32171c96f Now showing satellite current azimuth, elevation, altitude and range in RadarFragment 2019-12-05 22:28:15 +00:00
Arty Bishop 4e4256bc3f Setting up the androidx preference library SettingsFragment 2019-12-04 22:11:07 +00:00
Arty Bishop 06cb63aa11 Added SharedPref and LocationClient injection to the ViewModel via AndroidModule. Minor fixes. 2019-12-04 21:09:37 +00:00
Arty Bishop 0174ca48c1 Libraries update 2019-12-04 18:19:12 +00:00
Arty Bishop 6bf218d633 Now drawing the ground track and the footprint of the test satellite (Meteor M2-2) on the WorldMap 2019-12-02 23:07:21 +00:00
Arty Bishop 396a216320 Added SingleSat selection dialog. Setting up the WorldMapFragment for future track drawing feature. 2019-12-01 21:09:20 +00:00
Arty Bishop b44ff7272f Now showing the active transmitters of the selected satellite in the RadarView recycler 2019-12-01 14:57:52 +00:00
Arty Bishop 52b23bf628 Now reusing satPassList for the recycler view rather than generating it again. Minor refactoring. 2019-11-30 23:52:06 +00:00
Arty Bishop 89299d1c3b Further refactoring, showing passes now after the radarFragment onBack pressed. Trying to decide on the way it all should work. 2019-11-29 11:01:51 +00:00
Arty Bishop d7a094a1e2 Added textViews with pass info to the radarFragment. Minor refactoring. 2019-11-28 22:58:26 +00:00
Arty Bishop e88b78d4c6 Implemented RadarView to show the selected pass trajectory and the current sat position if overhead 2019-11-28 10:43:04 +00:00
Arty Bishop 6f4ab63b4a Now showing the radar fragment for selected satellite pass in the main recycler. 2019-11-27 14:05:29 +00:00
Arty Bishop e219d42a9b Fixed TLE list update logic. It now also triggers satellite passes recalculation. 2019-11-25 10:02:42 +00:00
Arty Bishop cd83cb6109 Fixed AOS timer reset issue. Fixed my brain logic as well. 2019-11-25 09:35:45 +00:00
Arty Bishop e44379f43e Main Tle list in now LiveData. Changes to the ground station position now lead to passes recalculation. Minor refactoring. 2019-11-24 22:49:27 +00:00
Arty Bishop 35b4215c72 Updated passes calculation logic with observers and liveData. Passes preferences are now correctly applied to the calculations. 2019-11-24 21:55:31 +00:00
Arty Bishop 0f5b734933 Added pass preferences dialog. Pass prefs are stored in sharedPrefs. 2019-11-24 17:57:58 +00:00
Arty Bishop cc53847374 Toolbar timer is now being set for the next satellite pass 2019-11-23 19:55:11 +00:00
Arty Bishop 92767bd0a4 Updated DrawerHeader layout. Hopefully it's a final version. Moved the timer setup to the Sky fragment. 2019-11-23 16:04:25 +00:00
Arty Bishop 1f2832d13e Added second recycler for current passes. FAB now initiates passes recalculation. Minor fixes. 2019-11-23 13:30:30 +00:00
Arty Bishop cc6e486574 Successfully moved to Dagger DI framework 2019-11-22 10:42:34 +00:00
Arty Bishop 3ad4d2fdf6 Initial setup before switching to Dagger DI 2019-11-20 10:35:39 +00:00
Arty Bishop bd61c49ab2 Back2Work commit. Updated deps, added Dagger deps. 2019-11-20 09:52:25 +00:00
Arty Bishop bfc0561c34 Added dialog for satellite selection. Showing only selected passes in the recycler. 2019-11-08 19:49:46 +01:00
Arty Bishop 09c6353c33 Minor cardView layout fix. 2019-11-08 13:54:20 +01:00
Arty Bishop 361fe92ac1 Created a dialog to select satellites to track. Trying to find a better option to retain changes. JetPack Preferences lib mb? 2019-11-08 13:53:45 +01:00
Arty Bishop a0f723e233 Added SatPass class to get the full info of a pass for the recycler items. Still trying to figure out what the final app is going to look like. Sitting at home with a cold. 2019-11-08 13:50:44 +01:00
Arty Bishop b7291db0f9 Added SatPass CardView, RecyclerView with SatPasses, moved the code to SkyFragment. 2019-11-07 15:42:27 +01:00
Arty Bishop 7510453f39 Swapped single action overflow menu for the toolbar refresh button. 2019-11-06 14:21:33 +01:00
Arty Bishop 1b76bf45dc Added configChanges attributes to manifest. I accept all personal responsibility and can be blamed for this decision, however for now it shall be so. 2019-11-05 21:30:27 +01:00
Arty Bishop 52fa9ab603 Attached action to button in the drawer header. Added LiveData debug toasts. Libraries update. 2019-11-05 21:08:22 +01:00
Arty Bishop dc7642bc52 Major look'n'feel update. Icons and buttons added to the drawer. Code cleanup. 2019-10-31 22:00:28 +00:00
Arty Bishop dc62d660a8 Moved the code from activity to ViewModel. Minor layout updates. 2019-10-30 23:20:16 +00:00
Arty Bishop be20786a18 Major fixes for DataSources. Fixed NPE in Transmitter entity. 2019-10-30 20:26:58 +00:00
Arty Bishop 4e7325d08f Swapped ViewModel injection for the standard VM connection to easily access application context 2019-10-30 17:56:06 +00:00
Arty Bishop d530eb9031 Added application context to ViewModel Injector. Changed data type of fetchTles() method to ByteArray. 2019-10-29 23:41:36 +00:00
Arty Bishop 53e64c30c2 Added LocalDataSource, Repository and ViewModel to Injector. Code move and cleanup. 2019-10-29 22:52:51 +00:00
Arty Bishop ace042d0b2 Created minimal LocalDataSource implementation 2019-10-29 22:23:39 +00:00
Arty Bishop 22616d0d2f Added Injector (Service Locator) object. Created minimal RemoteDataSource implementation. 2019-10-29 21:58:04 +00:00
Arty Bishop 3e7b07904a Updated drawer header, added minor animation. Switched to Material themes, major changes in colors. 2019-10-27 17:39:24 +00:00
Arty Bishop 2b41402e5c Major updates to drawer header layout. Added extension methods for doubles in shared preferences. Code cleanup. 2019-10-26 21:35:45 +01:00
Arty Bishop f24edc62a0 Added basic Transmitter apiService implementation with suspend functions 2019-10-21 10:22:57 +01:00
Arty Bishop fb432cffca Added drawer header GitHub link intent. Removed unnecessary drawer items. 2019-10-21 09:28:59 +01:00
Arty Bishop 7bf8b48483 Added drawer header Latitude and Longitude textViews update logic 2019-10-20 23:39:22 +01:00
Arty Bishop f2e3d99a85 Added FINE_LOCATION permission checks. Added location update and save logic. 2019-10-20 22:20:43 +01:00
Arty Bishop ad3900a17f Added sat and map drawables. Modified map fragment layout. 2019-10-20 20:26:30 +01:00
Arty Bishop 1d219ab841 Added dummy countdown timer to midnight to the toolbar 2019-10-20 18:20:02 +01:00
Arty Bishop 13ac2357ea Added options menu for debug purposes 2019-10-20 15:41:41 +01:00
Arty Bishop 3bf511019e Added ground station preferences and location switcher 2019-10-20 15:18:07 +01:00
Arty Bishop a90e9ea418 Changed app colors. Added sat drawables and drawer text views. 2019-10-20 14:43:02 +01:00
Arty Bishop 1995fbddde Add packages and classes for Api, Repository and Database. Add Transmitter entity data class. 2019-10-17 10:22:16 +01:00
Arty Bishop 7d4b325325 Add dependency libraries 2019-10-16 21:41:07 +01:00
Arty Bishop 42b7914482 Add preference library and settings fragment placeholder 2019-10-16 20:34:56 +01:00
Arty Bishop bff8e44d28 Set up with Fragments, DrawerLayout and Adaptive Icons 2019-10-16 20:13:20 +01:00