refactor: Move DetailAdapter and DetailViewModel into detail package

This commit is contained in:
Thore Goebel 2023-06-16 16:02:44 +02:00
parent a12eb78224
commit 3b76564be6
3 changed files with 5 additions and 3 deletions

View file

@ -35,6 +35,9 @@ import io.heckel.ntfy.util.Log
import io.heckel.ntfy.msg.ApiService
import io.heckel.ntfy.msg.NotificationService
import io.heckel.ntfy.service.SubscriberServiceManager
import io.heckel.ntfy.ui.detail.DetailAdapter
import io.heckel.ntfy.ui.detail.DetailViewModel
import io.heckel.ntfy.ui.detail.DetailViewModelFactory
import io.heckel.ntfy.util.*
import kotlinx.coroutines.*
import java.util.*

View file

@ -1,4 +1,4 @@
package io.heckel.ntfy.ui
package io.heckel.ntfy.ui.detail
import android.app.Activity
import android.view.LayoutInflater
@ -8,7 +8,6 @@ import androidx.recyclerview.widget.ListAdapter
import io.heckel.ntfy.R
import io.heckel.ntfy.db.Notification
import io.heckel.ntfy.db.Repository
import io.heckel.ntfy.ui.detail.DetailViewHolder
import kotlinx.coroutines.CoroutineScope

View file

@ -1,4 +1,4 @@
package io.heckel.ntfy.ui
package io.heckel.ntfy.ui.detail
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel