Skip to content

Instantly share code, notes, and snippets.

View ChaituPenju's full-sized avatar
:octocat:
Eat Sleep Code Repeat

Chaitanya Penjuri ChaituPenju

:octocat:
Eat Sleep Code Repeat
  • Deloitte USI
  • Hyderabad
View GitHub Profile
1. hiltvm (applicable in top-level)
@dagger.hilt.android.lifecycle.HiltViewModel
class $NAME$ @javax.inject.Inject constructor(
$PARAM$
) : androidx.lifecycle.ViewModel() {
$END$
}
2. vmstatefunc (applicable in class)
private val _$NAME$ = androidx.compose.runtime.mutableStateOf<$TYPE$>($INITIAL_VALUE$)