mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Packages and classes renaming
This commit is contained in:
1 parent
b91a7c1ff8
commit
2fbb2a2733
20 files changed
+43
-38
No files matched your search
@@ -47,6 +47,11 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
all {
|
||||
exclude module: "commons-logging"
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name=".ui.splash.SplashActivity"
|
||||
android:name=".ui.splashScreen.SplashActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/AppTheme.Splash">
|
||||
<intent-filter>
|
||||
@@ -22,7 +22,7 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.activities.MainActivity"
|
||||
android:name=".ui.mainScreen.MainActivity"
|
||||
android:screenOrientation="portrait" />
|
||||
</application>
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.rtbishop.look4sat.ui.fragments
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.content.Intent
|
||||
import android.os.Bundle
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
package com.rtbishop.look4sat.ui.fragments
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.rtbishop.look4sat.ui.activities
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.rtbishop.look4sat.ui.fragments
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.graphics.Color
|
||||
import android.graphics.ColorMatrix
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
package com.rtbishop.look4sat.ui.fragments
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.View
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
package com.rtbishop.look4sat.ui.fragments
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.content.Context
|
||||
import android.hardware.Sensor
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
package com.rtbishop.look4sat.ui.fragments
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.Manifest
|
||||
import android.content.pm.PackageManager
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
package com.rtbishop.look4sat.ui.fragments
|
||||
package com.rtbishop.look4sat.ui.mainScreen
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
@@ -1,6 +0,0 @@
|
||||
package com.rtbishop.look4sat.ui.splash
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
import com.rtbishop.look4sat.R
|
||||
|
||||
class SplashPosFragment : Fragment(R.layout.fragment_splash_pos)
|
||||
@@ -1,6 +0,0 @@
|
||||
package com.rtbishop.look4sat.ui.splash
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
import com.rtbishop.look4sat.R
|
||||
|
||||
class SplashTleFragment: Fragment(R.layout.fragment_splash_tle)
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.rtbishop.look4sat.ui.splashScreen
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
import com.rtbishop.look4sat.R
|
||||
|
||||
class PosFragment : Fragment(R.layout.fragment_splash_pos)
|
||||
+5
-5
@@ -1,4 +1,4 @@
|
||||
package com.rtbishop.look4sat.ui.splash
|
||||
package com.rtbishop.look4sat.ui.splashScreen
|
||||
|
||||
import android.content.Intent
|
||||
import android.os.Bundle
|
||||
@@ -8,7 +8,7 @@ import androidx.viewpager2.adapter.FragmentStateAdapter
|
||||
import androidx.viewpager2.widget.ViewPager2
|
||||
import com.rtbishop.look4sat.R
|
||||
import com.rtbishop.look4sat.databinding.ActivitySplashBinding
|
||||
import com.rtbishop.look4sat.ui.activities.MainActivity
|
||||
import com.rtbishop.look4sat.ui.mainScreen.MainActivity
|
||||
import com.rtbishop.look4sat.utility.PrefsManager
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import javax.inject.Inject
|
||||
@@ -62,9 +62,9 @@ class SplashActivity : FragmentActivity() {
|
||||
|
||||
override fun createFragment(position: Int): Fragment {
|
||||
return when (position) {
|
||||
0 -> SplashTleFragment()
|
||||
1 -> SplashPosFragment()
|
||||
else -> SplashTleFragment()
|
||||
0 -> TleFragment()
|
||||
1 -> PosFragment()
|
||||
else -> TleFragment()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.rtbishop.look4sat.ui.splashScreen
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
import com.rtbishop.look4sat.R
|
||||
|
||||
class TleFragment: Fragment(R.layout.fragment_splash_tle)
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.splash.SplashActivity">
|
||||
tools:context=".ui.splashScreen.SplashActivity">
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/splashPager"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.fragments.InfoFragment">
|
||||
tools:context=".ui.mainScreen.InfoFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.splash.SplashPosFragment">
|
||||
tools:context=".ui.splashScreen.PosFragment">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/splashPosTitleCard"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.splash.SplashTleFragment">
|
||||
tools:context=".ui.splashScreen.TleFragment">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/splashTleTitleCard"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<fragment
|
||||
android:id="@+id/nav_entries"
|
||||
android:name="com.rtbishop.look4sat.ui.fragments.EntriesFragment"
|
||||
android:name="com.rtbishop.look4sat.ui.mainScreen.EntriesFragment"
|
||||
tools:layout="@layout/fragment_entries">
|
||||
<action
|
||||
android:id="@+id/action_entries_to_passes"
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
<fragment
|
||||
android:id="@+id/nav_passes"
|
||||
android:name="com.rtbishop.look4sat.ui.fragments.PassesFragment"
|
||||
android:name="com.rtbishop.look4sat.ui.mainScreen.PassesFragment"
|
||||
tools:layout="@layout/fragment_passes">
|
||||
<action
|
||||
android:id="@+id/action_passes_to_polar"
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
<fragment
|
||||
android:id="@+id/nav_polar"
|
||||
android:name="com.rtbishop.look4sat.ui.fragments.PolarFragment"
|
||||
android:name="com.rtbishop.look4sat.ui.mainScreen.PolarFragment"
|
||||
tools:layout="@layout/fragment_polar">
|
||||
<action
|
||||
android:id="@+id/action_polar_to_passes"
|
||||
@@ -73,20 +73,20 @@
|
||||
|
||||
<fragment
|
||||
android:id="@+id/nav_map"
|
||||
android:name="com.rtbishop.look4sat.ui.fragments.MapFragment"
|
||||
android:name="com.rtbishop.look4sat.ui.mainScreen.MapFragment"
|
||||
tools:layout="@layout/fragment_map" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/nav_prefs"
|
||||
android:name="com.rtbishop.look4sat.ui.fragments.PrefsFragment" />
|
||||
android:name="com.rtbishop.look4sat.ui.mainScreen.PrefsFragment" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/nav_info"
|
||||
android:name="com.rtbishop.look4sat.ui.fragments.InfoFragment"
|
||||
android:name="com.rtbishop.look4sat.ui.mainScreen.InfoFragment"
|
||||
tools:layout="@layout/fragment_info" />
|
||||
<dialog
|
||||
android:id="@+id/nav_dialog_sources"
|
||||
android:name="com.rtbishop.look4sat.ui.fragments.SourcesDialog"
|
||||
android:name="com.rtbishop.look4sat.ui.mainScreen.SourcesDialog"
|
||||
tools:layout="@layout/dialog_sources" />
|
||||
|
||||
</navigation>
|
||||
Reference in new issue
Block a user