2020-06-12 15:44:45 +02:00
|
|
|
package at.connyduck.pixelcat.components.notifications
|
|
|
|
|
|
|
|
import androidx.fragment.app.viewModels
|
|
|
|
import at.connyduck.pixelcat.R
|
|
|
|
import at.connyduck.pixelcat.dagger.ViewModelFactory
|
|
|
|
import dagger.android.support.DaggerFragment
|
|
|
|
import javax.inject.Inject
|
|
|
|
|
2020-06-12 19:58:15 +02:00
|
|
|
class NotificationsFragment : DaggerFragment(R.layout.fragment_notifications) {
|
2020-06-12 15:44:45 +02:00
|
|
|
|
|
|
|
@Inject
|
|
|
|
lateinit var viewModelFactory: ViewModelFactory
|
|
|
|
|
|
|
|
private val notificationsViewModel: NotificationsViewModel by viewModels { viewModelFactory }
|
|
|
|
|
|
|
|
companion object {
|
|
|
|
fun newInstance() = NotificationsFragment()
|
|
|
|
}
|
2020-06-12 19:58:15 +02:00
|
|
|
}
|