Skip to content

Instantly share code, notes, and snippets.

View hgarciaalberto's full-sized avatar
🏠
Working from home

Alberto hgarciaalberto

🏠
Working from home
View GitHub Profile
@juanppdev
juanppdev / Move issue to assigned "In Progress"
Last active January 2, 2025 09:40
Github Actions with projects
name: Mover issue asignado a 'In Progress'
on:
issues:
types:
- assigned
jobs:
issue_opened_or_reopened:
name: issue_opened_or_reopened
runs-on: ubuntu-latest
steps:
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$)