Skip to content

Instantly share code, notes, and snippets.

Avatar

Trevor Jones trevjonez

View GitHub Profile
@trevjonez
trevjonez / ActualUsecaseActivity.kt
Last active Jun 2, 2020
VM injection simplified example
View ActualUsecaseActivity.kt
class ActualUsecaseActivity: SomeActivityBaseClass(), ViewModelInjected<UsecaseViewModel> {
/* Live template to generate this property */
@Inject
lateinit var viewModelHolder: ViewModelHolder<UsecaseViewModel>
override fun onLifecycleStuffs() {
viewModel.statefulReactiveThing.subscribe { theState ->
viewProperty.text = theState.text
[...]
View siman_vcs_dep_gradle_dump.txt
Initialized native services in: /Users/tjones/.gradle/native
The client will now receive all logging from the daemon (pid: 4850). The daemon log file: /Users/tjones/.gradle/daemon/5.2/daemon-4850.out.log
Starting 32nd build in daemon [uptime: 1 hrs 6 mins 39.312 secs, performance: 100%, no major garbage collections]
Using 8 worker leases.
Starting Build
Settings evaluated using settings file '/Users/tjones/SparseImageManager/settings.gradle.kts'.
Using local directory build cache for the root build (location = /Users/tjones/.gradle/caches/build-cache-1, removeUnusedEntriesAfter = 7 days).
Projects loaded. Root project using build file '/Users/tjones/SparseImageManager/build.gradle.kts'.
Included projects: [root project 'SparseImageManager']
View and-lib-0.1.0.module
{
"formatVersion": "0.4",
"component": {
"group": "com.trevjonez",
"module": "and-lib",
"version": "0.1.0",
"attributes": {
"org.gradle.status": "release"
}
},
View and-lib-0.1.0.module
{
"formatVersion": "0.4",
"component": {
"group": "com.trevjonez",
"module": "and-lib",
"version": "0.1.0",
"attributes": {
"org.gradle.status": "release"
}
},
You can’t perform that action at this time.