Skip to content

Instantly share code, notes, and snippets.

Trevor Jones trevjonez

Block or report user

Report or block trevjonez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@trevjonez
trevjonez / ActualUsecaseActivity.kt
Last active Apr 3, 2019
VM injection simplified example
View ActualUsecaseActivity.kt
class ActualUsecaseActivity: DaggerAppCompatActivity() {
/*
Live template to generate these properties, OR put them in a generic base class
which works if your frag/tivity only needs a single view model type.
although multiple VM's is probably a smell of something wrong in the design (frag/tivity may be doing too much etc...)
*/
@Inject
lateinit var usecaseViewModelHolder: ViewModelHolder<UsecaseViewModel>
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.