Move NavigationExtensions.kt to :app:ui:base
This commit is contained in:
parent
779f2a7b9a
commit
6bb407087e
7 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@ import androidx.navigation.ui.AppBarConfiguration
|
|||
import androidx.navigation.ui.setupActionBarWithNavController
|
||||
import com.fsck.k9.jmap.R
|
||||
import com.fsck.k9.ui.base.K9Activity
|
||||
import com.fsck.k9.ui.findNavController
|
||||
import com.fsck.k9.ui.base.extensions.findNavController
|
||||
|
||||
class AddAccountActivity : K9Activity() {
|
||||
private lateinit var navController: NavController
|
||||
|
|
|
@ -8,6 +8,8 @@ dependencies {
|
|||
implementation project(":app:core")
|
||||
|
||||
api "androidx.appcompat:appcompat:${versions.androidxAppCompat}"
|
||||
api "androidx.navigation:navigation-fragment-ktx:${versions.androidxNavigation}"
|
||||
api "androidx.navigation:navigation-ui-ktx:${versions.androidxNavigation}"
|
||||
|
||||
implementation "androidx.core:core-ktx:${versions.androidxCore}"
|
||||
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.fsck.k9.ui
|
||||
package com.fsck.k9.ui.base.extensions
|
||||
|
||||
import androidx.annotation.IdRes
|
||||
import androidx.fragment.app.FragmentActivity
|
|
@ -27,8 +27,6 @@ dependencies {
|
|||
implementation "androidx.recyclerview:recyclerview:${versions.androidxRecyclerView}"
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidxLifecycle}"
|
||||
implementation "androidx.lifecycle:lifecycle-livedata-ktx:${versions.androidxLifecycle}"
|
||||
implementation "androidx.navigation:navigation-fragment-ktx:${versions.androidxNavigation}"
|
||||
implementation "androidx.navigation:navigation-ui-ktx:${versions.androidxNavigation}"
|
||||
implementation "androidx.constraintlayout:constraintlayout:${versions.androidxConstraintLayout}"
|
||||
implementation "androidx.cardview:cardview:${versions.androidxCardView}"
|
||||
implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
|
||||
|
|
|
@ -10,7 +10,7 @@ import androidx.navigation.ui.setupActionBarWithNavController
|
|||
import com.fsck.k9.Account
|
||||
import com.fsck.k9.ui.R
|
||||
import com.fsck.k9.ui.base.K9Activity
|
||||
import com.fsck.k9.ui.findNavController
|
||||
import com.fsck.k9.ui.base.extensions.findNavController
|
||||
|
||||
class ManageFoldersActivity : K9Activity() {
|
||||
private lateinit var navController: NavController
|
||||
|
|
|
@ -8,7 +8,7 @@ import androidx.navigation.ui.AppBarConfiguration
|
|||
import androidx.navigation.ui.setupActionBarWithNavController
|
||||
import com.fsck.k9.ui.R
|
||||
import com.fsck.k9.ui.base.K9Activity
|
||||
import com.fsck.k9.ui.findNavController
|
||||
import com.fsck.k9.ui.base.extensions.findNavController
|
||||
|
||||
class OnboardingActivity : K9Activity() {
|
||||
private lateinit var navController: NavController
|
||||
|
|
|
@ -8,7 +8,7 @@ import androidx.navigation.ui.AppBarConfiguration
|
|||
import androidx.navigation.ui.setupActionBarWithNavController
|
||||
import com.fsck.k9.ui.R
|
||||
import com.fsck.k9.ui.base.K9Activity
|
||||
import com.fsck.k9.ui.findNavController
|
||||
import com.fsck.k9.ui.base.extensions.findNavController
|
||||
|
||||
class SettingsActivity : K9Activity() {
|
||||
private lateinit var navController: NavController
|
||||
|
|
Loading…
Reference in a new issue