From 24ab1b0990e2fff136712c7cba25e4bdee02386e Mon Sep 17 00:00:00 2001 From: Arty Bishop Date: Sun, 29 Nov 2020 17:36:43 +0000 Subject: [PATCH] v2.0.0 - New BottomNavigation UI, OSM MapView, major code refactoring --- app/build.gradle | 40 +++++++++---------- .../java/com/rtbishop/look4sat/Look4SatApp.kt | 36 ++++++++--------- .../com/rtbishop/look4sat/SharedViewModel.kt | 36 ++++++++--------- .../java/com/rtbishop/look4sat/data/Event.kt | 19 +++++++++ .../com/rtbishop/look4sat/data/PassPrefs.kt | 19 +++++++++ .../java/com/rtbishop/look4sat/data/Result.kt | 19 +++++++++ .../com/rtbishop/look4sat/data/SatEntry.kt | 19 +++++++++ .../com/rtbishop/look4sat/data/SatPass.kt | 36 ++++++++--------- .../com/rtbishop/look4sat/data/SatTrans.kt | 36 ++++++++--------- .../com/rtbishop/look4sat/data/SelectedSat.kt | 19 +++++++++ .../com/rtbishop/look4sat/data/TleSource.kt | 19 +++++++++ .../com/rtbishop/look4sat/di/NetworkModule.kt | 36 ++++++++--------- .../rtbishop/look4sat/di/PersistenceModule.kt | 36 ++++++++--------- .../com/rtbishop/look4sat/di/RepoModule.kt | 36 ++++++++--------- .../com/rtbishop/look4sat/di/UtilityModule.kt | 36 ++++++++--------- .../look4sat/repo/DefaultEntriesRepo.kt | 19 +++++++++ .../look4sat/repo/DefaultSourcesRepo.kt | 19 +++++++++ .../look4sat/repo/DefaultTransmittersRepo.kt | 19 +++++++++ .../com/rtbishop/look4sat/repo/EntriesRepo.kt | 19 +++++++++ .../com/rtbishop/look4sat/repo/SourcesRepo.kt | 19 +++++++++ .../look4sat/repo/TransmittersRepo.kt | 19 +++++++++ .../look4sat/repo/local/EntriesDao.kt | 36 ++++++++--------- .../look4sat/repo/local/SatelliteDb.kt | 36 ++++++++--------- .../look4sat/repo/local/SourcesDao.kt | 19 +++++++++ .../look4sat/repo/local/TransmittersDao.kt | 19 +++++++++ .../look4sat/repo/remote/TransmittersApi.kt | 36 ++++++++--------- .../look4sat/ui/adapters/EntriesAdapter.kt | 36 ++++++++--------- .../look4sat/ui/adapters/PassesAdapter.kt | 36 ++++++++--------- .../look4sat/ui/adapters/SourcesAdapter.kt | 36 ++++++++--------- .../look4sat/ui/adapters/TransAdapter.kt | 36 ++++++++--------- .../look4sat/ui/mainScreen/EntriesFragment.kt | 19 +++++++++ .../look4sat/ui/mainScreen/InfoFragment.kt | 36 ++++++++--------- .../look4sat/ui/mainScreen/MainActivity.kt | 19 +++++++++ .../look4sat/ui/mainScreen/MapFragment.kt | 19 +++++++++ .../look4sat/ui/mainScreen/MapViewModel.kt | 19 +++++++++ .../look4sat/ui/mainScreen/PassesFragment.kt | 36 ++++++++--------- .../look4sat/ui/mainScreen/PolarFragment.kt | 36 ++++++++--------- .../look4sat/ui/mainScreen/PrefsFragment.kt | 36 ++++++++--------- .../look4sat/ui/mainScreen/SourcesDialog.kt | 36 ++++++++--------- .../look4sat/ui/splashScreen/PosFragment.kt | 19 +++++++++ .../ui/splashScreen/SplashActivity.kt | 19 +++++++++ .../look4sat/ui/splashScreen/TleFragment.kt | 19 +++++++++ .../rtbishop/look4sat/ui/views/PolarView.kt | 19 +++++++++ .../rtbishop/look4sat/utility/Converters.kt | 19 +++++++++ .../rtbishop/look4sat/utility/PrefsManager.kt | 36 ++++++++--------- .../look4sat/utility/RecyclerDivider.kt | 19 +++++++++ .../rtbishop/look4sat/utility/Utilities.kt | 30 +++++++++----- app/src/main/res/drawable/ic_github.xml | 19 --------- .../res/drawable/ic_launcher_background.xml | 19 --------- .../res/drawable/ic_launcher_foreground.xml | 19 --------- app/src/main/res/drawable/ic_menu_map.xml | 19 --------- app/src/main/res/drawable/ic_menu_prefs.xml | 19 --------- app/src/main/res/drawable/splash_drawable.xml | 20 +--------- app/src/main/res/layout/fragment_entries.xml | 20 +--------- app/src/main/res/layout/fragment_info.xml | 20 +--------- app/src/main/res/layout/fragment_map.xml | 20 +--------- app/src/main/res/layout/fragment_passes.xml | 20 +--------- app/src/main/res/layout/fragment_polar.xml | 20 +--------- app/src/main/res/layout/item_pass_geo.xml | 20 +--------- app/src/main/res/layout/item_pass_leo.xml | 20 +--------- app/src/main/res/layout/item_sat_entry.xml | 20 +--------- app/src/main/res/layout/item_trans.xml | 20 +--------- app/src/main/res/menu/nav_menu.xml | 19 +-------- .../res/mipmap-anydpi-v26/ic_launcher.xml | 20 +--------- .../mipmap-anydpi-v26/ic_launcher_round.xml | 20 +--------- app/src/main/res/navigation/nav_graph.xml | 20 +--------- app/src/main/res/values-ru/strings.xml | 20 +--------- app/src/main/res/values/colors.xml | 20 +--------- app/src/main/res/values/strings.xml | 20 +--------- app/src/main/res/values/styles.xml | 19 --------- app/src/main/res/xml/preference.xml | 20 +--------- build.gradle | 36 ++++++++--------- 72 files changed, 909 insertions(+), 882 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 58bd3d48..40ee037a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ plugins { id "com.android.application" @@ -32,8 +32,8 @@ android { applicationId "com.rtbishop.look4sat" minSdkVersion 21 targetSdkVersion 30 - versionCode 18 - versionName "1.4.8" + versionCode 200 + versionName "2.0.0" } buildTypes { diff --git a/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt b/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt index 066347c5..ef4906c7 100644 --- a/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt +++ b/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat diff --git a/app/src/main/java/com/rtbishop/look4sat/SharedViewModel.kt b/app/src/main/java/com/rtbishop/look4sat/SharedViewModel.kt index 406eb01c..291ff295 100644 --- a/app/src/main/java/com/rtbishop/look4sat/SharedViewModel.kt +++ b/app/src/main/java/com/rtbishop/look4sat/SharedViewModel.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat diff --git a/app/src/main/java/com/rtbishop/look4sat/data/Event.kt b/app/src/main/java/com/rtbishop/look4sat/data/Event.kt index d44d7704..44de27bb 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/Event.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/Event.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.data class Event(private val content: T) { diff --git a/app/src/main/java/com/rtbishop/look4sat/data/PassPrefs.kt b/app/src/main/java/com/rtbishop/look4sat/data/PassPrefs.kt index 6ae6b9b9..92681369 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/PassPrefs.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/PassPrefs.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.data data class PassPrefs(val hoursAhead: Int, val minEl: Double) \ No newline at end of file diff --git a/app/src/main/java/com/rtbishop/look4sat/data/Result.kt b/app/src/main/java/com/rtbishop/look4sat/data/Result.kt index 099f0ad7..c7d3416f 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/Result.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/Result.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.data sealed class Result { diff --git a/app/src/main/java/com/rtbishop/look4sat/data/SatEntry.kt b/app/src/main/java/com/rtbishop/look4sat/data/SatEntry.kt index 99d3f12e..132f1964 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/SatEntry.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/SatEntry.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.data import androidx.room.Entity diff --git a/app/src/main/java/com/rtbishop/look4sat/data/SatPass.kt b/app/src/main/java/com/rtbishop/look4sat/data/SatPass.kt index e6fbf89c..fb944361 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/SatPass.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/SatPass.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.data diff --git a/app/src/main/java/com/rtbishop/look4sat/data/SatTrans.kt b/app/src/main/java/com/rtbishop/look4sat/data/SatTrans.kt index e86cfcf0..71374a11 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/SatTrans.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/SatTrans.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.data diff --git a/app/src/main/java/com/rtbishop/look4sat/data/SelectedSat.kt b/app/src/main/java/com/rtbishop/look4sat/data/SelectedSat.kt index ec7ff156..74c2a4f0 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/SelectedSat.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/SelectedSat.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.data import com.github.amsacode.predict4java.Position diff --git a/app/src/main/java/com/rtbishop/look4sat/data/TleSource.kt b/app/src/main/java/com/rtbishop/look4sat/data/TleSource.kt index 68fcd86b..00830fd8 100644 --- a/app/src/main/java/com/rtbishop/look4sat/data/TleSource.kt +++ b/app/src/main/java/com/rtbishop/look4sat/data/TleSource.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.data import androidx.room.Entity diff --git a/app/src/main/java/com/rtbishop/look4sat/di/NetworkModule.kt b/app/src/main/java/com/rtbishop/look4sat/di/NetworkModule.kt index 39fa1181..b046f5e6 100644 --- a/app/src/main/java/com/rtbishop/look4sat/di/NetworkModule.kt +++ b/app/src/main/java/com/rtbishop/look4sat/di/NetworkModule.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.di diff --git a/app/src/main/java/com/rtbishop/look4sat/di/PersistenceModule.kt b/app/src/main/java/com/rtbishop/look4sat/di/PersistenceModule.kt index ab478cb5..2ff8bf07 100644 --- a/app/src/main/java/com/rtbishop/look4sat/di/PersistenceModule.kt +++ b/app/src/main/java/com/rtbishop/look4sat/di/PersistenceModule.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.di diff --git a/app/src/main/java/com/rtbishop/look4sat/di/RepoModule.kt b/app/src/main/java/com/rtbishop/look4sat/di/RepoModule.kt index 9eb829d6..30aca26b 100644 --- a/app/src/main/java/com/rtbishop/look4sat/di/RepoModule.kt +++ b/app/src/main/java/com/rtbishop/look4sat/di/RepoModule.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.di diff --git a/app/src/main/java/com/rtbishop/look4sat/di/UtilityModule.kt b/app/src/main/java/com/rtbishop/look4sat/di/UtilityModule.kt index f0463d0d..3a516faa 100644 --- a/app/src/main/java/com/rtbishop/look4sat/di/UtilityModule.kt +++ b/app/src/main/java/com/rtbishop/look4sat/di/UtilityModule.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.di diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/DefaultEntriesRepo.kt b/app/src/main/java/com/rtbishop/look4sat/repo/DefaultEntriesRepo.kt index 66d52fce..bea898be 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/DefaultEntriesRepo.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/DefaultEntriesRepo.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo import android.content.ContentResolver diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/DefaultSourcesRepo.kt b/app/src/main/java/com/rtbishop/look4sat/repo/DefaultSourcesRepo.kt index a03af1ac..ab688d90 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/DefaultSourcesRepo.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/DefaultSourcesRepo.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/DefaultTransmittersRepo.kt b/app/src/main/java/com/rtbishop/look4sat/repo/DefaultTransmittersRepo.kt index 648b690f..38f60612 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/DefaultTransmittersRepo.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/DefaultTransmittersRepo.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/EntriesRepo.kt b/app/src/main/java/com/rtbishop/look4sat/repo/EntriesRepo.kt index 3592d987..12ee09e2 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/EntriesRepo.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/EntriesRepo.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo import android.net.Uri diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/SourcesRepo.kt b/app/src/main/java/com/rtbishop/look4sat/repo/SourcesRepo.kt index 63cb9268..bcf218ce 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/SourcesRepo.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/SourcesRepo.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/TransmittersRepo.kt b/app/src/main/java/com/rtbishop/look4sat/repo/TransmittersRepo.kt index c665ab4b..dfeff1c2 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/TransmittersRepo.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/TransmittersRepo.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/local/EntriesDao.kt b/app/src/main/java/com/rtbishop/look4sat/repo/local/EntriesDao.kt index 57023323..0480993a 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/local/EntriesDao.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/local/EntriesDao.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.repo.local diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/local/SatelliteDb.kt b/app/src/main/java/com/rtbishop/look4sat/repo/local/SatelliteDb.kt index fc104a94..6832bce9 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/local/SatelliteDb.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/local/SatelliteDb.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.repo.local diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/local/SourcesDao.kt b/app/src/main/java/com/rtbishop/look4sat/repo/local/SourcesDao.kt index 474e489f..19e6af01 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/local/SourcesDao.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/local/SourcesDao.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo.local import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/local/TransmittersDao.kt b/app/src/main/java/com/rtbishop/look4sat/repo/local/TransmittersDao.kt index 0b4e69ce..802f3ffb 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/local/TransmittersDao.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/local/TransmittersDao.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.repo.local import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/rtbishop/look4sat/repo/remote/TransmittersApi.kt b/app/src/main/java/com/rtbishop/look4sat/repo/remote/TransmittersApi.kt index 10b601ee..73d4f8be 100644 --- a/app/src/main/java/com/rtbishop/look4sat/repo/remote/TransmittersApi.kt +++ b/app/src/main/java/com/rtbishop/look4sat/repo/remote/TransmittersApi.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.repo.remote diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/EntriesAdapter.kt b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/EntriesAdapter.kt index 14daae5a..7cf6cf71 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/EntriesAdapter.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/EntriesAdapter.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.adapters diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/PassesAdapter.kt b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/PassesAdapter.kt index 15923690..feb1c471 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/PassesAdapter.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/PassesAdapter.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.adapters diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/SourcesAdapter.kt b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/SourcesAdapter.kt index 2a12fdae..f27d9a61 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/SourcesAdapter.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/SourcesAdapter.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.adapters diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/TransAdapter.kt b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/TransAdapter.kt index b75c5754..9b72cd29 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/adapters/TransAdapter.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/adapters/TransAdapter.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.adapters diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/EntriesFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/EntriesFragment.kt index 4607a42d..4467e6aa 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/EntriesFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/EntriesFragment.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.mainScreen import android.content.Intent diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/InfoFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/InfoFragment.kt index b9f593f6..53a3373e 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/InfoFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/InfoFragment.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.mainScreen diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MainActivity.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MainActivity.kt index e65fbdaa..27e6a080 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MainActivity.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MainActivity.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.mainScreen import android.os.Bundle diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapFragment.kt index 4299e2d9..93579faa 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapFragment.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.mainScreen import android.graphics.Color diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapViewModel.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapViewModel.kt index 8b747d53..a59a9d0f 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapViewModel.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/MapViewModel.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.mainScreen import android.graphics.Color diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PassesFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PassesFragment.kt index 570d8067..91939e5a 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PassesFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PassesFragment.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.mainScreen diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PolarFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PolarFragment.kt index fb5e3a5b..7840974f 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PolarFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PolarFragment.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.mainScreen diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PrefsFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PrefsFragment.kt index 74fa3831..5e2359d9 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PrefsFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/PrefsFragment.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.mainScreen diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/SourcesDialog.kt b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/SourcesDialog.kt index 8157494d..51aa5862 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/SourcesDialog.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/mainScreen/SourcesDialog.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.ui.mainScreen diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/PosFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/PosFragment.kt index ff5b0b1b..c1fa6160 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/PosFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/PosFragment.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.splashScreen import androidx.fragment.app.Fragment diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/SplashActivity.kt b/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/SplashActivity.kt index 9272593f..027caeab 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/SplashActivity.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/SplashActivity.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.splashScreen import android.content.Intent diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/TleFragment.kt b/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/TleFragment.kt index c9d356a0..8ed66588 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/TleFragment.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/splashScreen/TleFragment.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.splashScreen import androidx.fragment.app.Fragment diff --git a/app/src/main/java/com/rtbishop/look4sat/ui/views/PolarView.kt b/app/src/main/java/com/rtbishop/look4sat/ui/views/PolarView.kt index 0aa05ac7..567ec378 100644 --- a/app/src/main/java/com/rtbishop/look4sat/ui/views/PolarView.kt +++ b/app/src/main/java/com/rtbishop/look4sat/ui/views/PolarView.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.ui.views import android.content.Context diff --git a/app/src/main/java/com/rtbishop/look4sat/utility/Converters.kt b/app/src/main/java/com/rtbishop/look4sat/utility/Converters.kt index 34f6a43b..706eb5ee 100644 --- a/app/src/main/java/com/rtbishop/look4sat/utility/Converters.kt +++ b/app/src/main/java/com/rtbishop/look4sat/utility/Converters.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.utility import androidx.room.TypeConverter diff --git a/app/src/main/java/com/rtbishop/look4sat/utility/PrefsManager.kt b/app/src/main/java/com/rtbishop/look4sat/utility/PrefsManager.kt index 2c1925e0..99025e34 100644 --- a/app/src/main/java/com/rtbishop/look4sat/utility/PrefsManager.kt +++ b/app/src/main/java/com/rtbishop/look4sat/utility/PrefsManager.kt @@ -1,21 +1,21 @@ -/* - * Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android. - * Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ package com.rtbishop.look4sat.utility diff --git a/app/src/main/java/com/rtbishop/look4sat/utility/RecyclerDivider.kt b/app/src/main/java/com/rtbishop/look4sat/utility/RecyclerDivider.kt index ba220ae0..7d2c33dc 100644 --- a/app/src/main/java/com/rtbishop/look4sat/utility/RecyclerDivider.kt +++ b/app/src/main/java/com/rtbishop/look4sat/utility/RecyclerDivider.kt @@ -1,3 +1,22 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.utility import android.graphics.Canvas diff --git a/app/src/main/java/com/rtbishop/look4sat/utility/Utilities.kt b/app/src/main/java/com/rtbishop/look4sat/utility/Utilities.kt index dfb232d9..9bdea4ad 100644 --- a/app/src/main/java/com/rtbishop/look4sat/utility/Utilities.kt +++ b/app/src/main/java/com/rtbishop/look4sat/utility/Utilities.kt @@ -1,9 +1,25 @@ +/******************************************************************************* + Look4Sat. Amateur radio satellite tracker and pass predictor. + Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + ******************************************************************************/ + package com.rtbishop.look4sat.utility -import android.content.SharedPreferences -import android.view.View import com.github.amsacode.predict4java.GroundStationPosition -import com.google.android.material.snackbar.Snackbar import java.util.concurrent.TimeUnit import kotlin.math.round @@ -23,14 +39,6 @@ object Utilities { return round(this * multiplier) / multiplier } - fun SharedPreferences.Editor.putDouble(key: String, double: Double) { - putLong(key, double.toRawBits()) - } - - fun SharedPreferences.getDouble(key: String, default: Double): Double { - return Double.fromBits(getLong(key, default.toRawBits())) - } - fun qthToGSP(qthString: String): GroundStationPosition { val latFirst = (qthString[1].toInt() - 65) * 10 val latSecond = qthString[3].toString().toInt() diff --git a/app/src/main/res/drawable/ic_github.xml b/app/src/main/res/drawable/ic_github.xml index 4f1cf2c7..c93daef3 100644 --- a/app/src/main/res/drawable/ic_github.xml +++ b/app/src/main/res/drawable/ic_github.xml @@ -1,22 +1,3 @@ - - - - - - - + diff --git a/app/src/main/res/layout/fragment_entries.xml b/app/src/main/res/layout/fragment_entries.xml index 11d0a048..c4a3b32b 100644 --- a/app/src/main/res/layout/fragment_entries.xml +++ b/app/src/main/res/layout/fragment_entries.xml @@ -1,22 +1,4 @@ - - + - + - + - + - + - + - + - + - + + - + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 2bf5ece6..6b78462d 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,22 +1,4 @@ - - + diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index 88866ddf..76f1dab0 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -1,22 +1,4 @@ - - + - + Да Нет diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 7e8852a2..e13ae94b 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,22 +1,4 @@ - - + #FFE082 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 143b077e..6aa3f381 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,22 +1,4 @@ - - + Look4Sat Placeholder diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 93ac9100..99b37b6d 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,22 +1,3 @@ - -