Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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$) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.annotation.SuppressLint | |
| import androidx.compose.animation.core.animateDpAsState | |
| import androidx.compose.animation.core.animateFloatAsState | |
| import androidx.compose.foundation.Canvas | |
| import androidx.compose.foundation.background | |
| import androidx.compose.foundation.gestures.awaitFirstDown | |
| import androidx.compose.foundation.gestures.forEachGesture | |
| import androidx.compose.foundation.gestures.horizontalDrag | |
| import androidx.compose.foundation.layout.Arrangement.spacedBy | |
| import androidx.compose.foundation.layout.Box |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. | |
| */ | |
| import android.location.Location | |
| import com.google.android.gms.location.LocationCallback | |
| import com.google.android.gms.location.LocationRequest | |
| import com.google.android.gms.location.LocationResult | |
| import com.google.android.gms.location.LocationServices | |
| import kotlinx.coroutines.CancellationException |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package io.license.core.validation | |
| import javax.validation.Constraint | |
| import javax.validation.ConstraintValidator | |
| import javax.validation.ConstraintValidatorContext | |
| import javax.validation.Payload | |
| import kotlin.reflect.KClass | |
| @Target(AnnotationTarget.FIELD) |