Skip to content

Commit

Permalink
#139 suppress the DaggerViewModelAssistedFactory for some ktlint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
javadjafari1 committed Mar 21, 2024
1 parent b08ff3a commit 71fdd63
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ import androidx.lifecycle.ViewModel
import javax.inject.Inject
import javax.inject.Provider

@Suppress(
"ktlint:standard:parameter-list-spacing",
"ktlint:standard:indent",
)
class DaggerViewModelAssistedFactory @Inject constructor(
private val assistedFactoryMap: Map<Class<out ViewModel>, @JvmSuppressWildcards Provider<ViewModelAssistedFactory<*>>>,
private val assistedFactoryMap:
Map<Class<out ViewModel>, @JvmSuppressWildcards Provider<ViewModelAssistedFactory<*>>>,
private val viewModels: Map<Class<out ViewModel>, @JvmSuppressWildcards Provider<ViewModel>>,
) : ViewModelFactory {
@Suppress("UNCHECKED_CAST")
Expand Down

0 comments on commit 71fdd63

Please # to comment.