move all fragments into the fragments package

This commit is contained in:
Jannik 2020-10-15 19:01:37 +02:00
parent fa6419bb02
commit a8dc243d0e
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
13 changed files with 21 additions and 21 deletions

View File

@ -35,13 +35,13 @@ import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import org.mosad.teapod.parser.AoDParser import org.mosad.teapod.parser.AoDParser
import org.mosad.teapod.preferences.EncryptedPreferences import org.mosad.teapod.preferences.EncryptedPreferences
import org.mosad.teapod.ui.MediaFragment import org.mosad.teapod.ui.fragments.MediaFragment
import org.mosad.teapod.ui.account.AccountFragment import org.mosad.teapod.ui.fragments.AccountFragment
import org.mosad.teapod.ui.components.LoginDialog import org.mosad.teapod.ui.components.LoginDialog
import org.mosad.teapod.ui.home.HomeFragment import org.mosad.teapod.ui.fragments.HomeFragment
import org.mosad.teapod.ui.library.LibraryFragment import org.mosad.teapod.ui.fragments.LibraryFragment
import org.mosad.teapod.ui.search.SearchFragment import org.mosad.teapod.ui.fragments.SearchFragment
import org.mosad.teapod.util.LoadingFragment import org.mosad.teapod.ui.fragments.LoadingFragment
import org.mosad.teapod.util.Media import org.mosad.teapod.util.Media
import org.mosad.teapod.util.TMDBApiController import org.mosad.teapod.util.TMDBApiController
import kotlin.system.measureTimeMillis import kotlin.system.measureTimeMillis

View File

@ -1,4 +1,4 @@
package org.mosad.teapod.ui.account package org.mosad.teapod.ui.fragments
import android.os.Bundle import android.os.Bundle
import android.util.Log import android.util.Log

View File

@ -1,4 +1,4 @@
package org.mosad.teapod.ui.home package org.mosad.teapod.ui.fragments
import android.os.Bundle import android.os.Bundle
import android.view.LayoutInflater import android.view.LayoutInflater

View File

@ -1,4 +1,4 @@
package org.mosad.teapod.ui.library package org.mosad.teapod.ui.fragments
import android.os.Bundle import android.os.Bundle
import android.view.LayoutInflater import android.view.LayoutInflater

View File

@ -1,4 +1,4 @@
package org.mosad.teapod.util package org.mosad.teapod.ui.fragments
import android.os.Bundle import android.os.Bundle
import android.view.LayoutInflater import android.view.LayoutInflater

View File

@ -1,4 +1,4 @@
package org.mosad.teapod.ui package org.mosad.teapod.ui.fragments
import android.graphics.Color import android.graphics.Color
import android.graphics.drawable.ColorDrawable import android.graphics.drawable.ColorDrawable

View File

@ -1,4 +1,4 @@
package org.mosad.teapod.ui.search package org.mosad.teapod.ui.fragments
import android.os.Bundle import android.os.Bundle
import android.view.LayoutInflater import android.view.LayoutInflater

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#f5f5f5" android:background="#f5f5f5"
tools:context=".ui.account.AccountFragment"> tools:context=".ui.fragments.AccountFragment">
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#f5f5f5" android:background="#f5f5f5"
tools:context=".ui.home.HomeFragment"> tools:context=".ui.fragments.HomeFragment">
<TextView <TextView
android:id="@+id/text_home" android:id="@+id/text_home"

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#f5f5f5" android:background="#f5f5f5"
tools:context=".ui.library.LibraryFragment"> tools:context=".ui.fragments.LibraryFragment">
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_media_library" android:id="@+id/recycler_media_library"

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#f5f5f5" android:background="#f5f5f5"
tools:context=".ui.MediaFragment"> tools:context=".ui.fragments.MediaFragment">
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#f5f5f5" android:background="#f5f5f5"
tools:context=".ui.search.SearchFragment"> tools:context=".ui.fragments.SearchFragment">
<SearchView <SearchView
android:id="@+id/search_text" android:id="@+id/search_text"

View File

@ -7,25 +7,25 @@
<fragment <fragment
android:id="@+id/navigation_home" android:id="@+id/navigation_home"
android:name="org.mosad.teapod.ui.home.HomeFragment" android:name="org.mosad.teapod.ui.fragments.HomeFragment"
android:label="@string/title_home" android:label="@string/title_home"
tools:layout="@layout/fragment_home" /> tools:layout="@layout/fragment_home" />
<fragment <fragment
android:id="@+id/navigation_library" android:id="@+id/navigation_library"
android:name="org.mosad.teapod.ui.library.LibraryFragment" android:name="org.mosad.teapod.ui.fragments.LibraryFragment"
android:label="@string/title_library" android:label="@string/title_library"
tools:layout="@layout/fragment_library" /> tools:layout="@layout/fragment_library" />
<fragment <fragment
android:id="@+id/navigation_search" android:id="@+id/navigation_search"
android:name="org.mosad.teapod.ui.search.SearchFragment" android:name="org.mosad.teapod.ui.fragments.SearchFragment"
android:label="@string/title_search" android:label="@string/title_search"
tools:layout="@layout/fragment_search" /> tools:layout="@layout/fragment_search" />
<fragment <fragment
android:id="@+id/navigation_account" android:id="@+id/navigation_account"
android:name="org.mosad.teapod.ui.account.AccountFragment" android:name="org.mosad.teapod.ui.fragments.AccountFragment"
android:label="@string/title_account" android:label="@string/title_account"
tools:layout="@layout/fragment_account" /> tools:layout="@layout/fragment_account" />