Skip to content

Commit

Permalink
修改ViewModel
Browse files Browse the repository at this point in the history
  • Loading branch information
dmzz-yyhyy committed Jul 17, 2024
1 parent b1665a1 commit 0cecde2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package indi.dmzz_yyhyy.lightnovelreader.ui.book.detail

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class DetailViewModel {
class DetailViewModel @Inject constructor(
) : ViewModel() {
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
package indi.dmzz_yyhyy.lightnovelreader.ui.home.reading;

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel;
import javax.inject.Inject;

@HiltViewModel
public class ReadingViewModel {
class ReadingViewModel @Inject constructor(

) : ViewModel() {

}

0 comments on commit 0cecde2

Please sign in to comment.