spierce7
11/09/2020, 5:57 PMFabrice Thilaw
11/09/2020, 9:00 PMLilly
11/10/2020, 2:00 AMdependencies
the depency appears in both compileClasspath and runtimeClasspath. My build.gradle.kts:
plugins {
id("kotlin")
}
dependencies {
implementation("io.github.thanosfisherman.blueflow:blueflow:1.1.2")
}
akuleshov7
11/10/2020, 7:42 AMSouhail Marghabi
11/10/2020, 4:12 PMLilly
11/10/2020, 5:53 PMmy class
that provides the data. So far so good. Usually my class
would be a repository
but in my case the only data source of truth is a bluetooth device. I will definitely need a sort of abstraction between my bluetooth device and the use cases. So my question: How would you name this abstraction? Is it a Repository
, Facade
, Proxy
, Gateway
,Bridge
, Wrapper
, Mediator
.Steve
11/10/2020, 7:01 PMSlackbot
11/11/2020, 4:17 PMSlackbot
11/12/2020, 2:30 AMGrant Park
11/12/2020, 8:00 AMSouhail Marghabi
11/12/2020, 9:47 AMTony Kazanjian
11/12/2020, 8:03 PMKshitij Patil
11/12/2020, 9:12 PMAlexandru Hadăr
11/13/2020, 12:42 PMA
and B
. I use WorkManager to schedule work Job
on both flavours, at random time. Will there be a conflict between A.Job
and B.Job
?Mohsen
11/13/2020, 4:49 PMFareesHussain
11/13/2020, 11:33 PMBaldomero Napoli
11/14/2020, 4:00 AMdave08
11/15/2020, 3:36 PMHans101
11/16/2020, 1:20 AMxiaobailong24
11/16/2020, 5:02 AMPutin
11/16/2020, 6:50 AMUnresolved reference: testing
Unresolved reference: InstantTaskExecutorRule
This is my test class:
=========================================
package com.kotlin.practice.githubrepo.db
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class RepoDaoTest : DbTest() {
@get:Rule
var instantTaskExecutorRule = InstantTaskExecutorRule()
@Test
fun insertAndRead() { }
}
Cyril Find
11/16/2020, 9:53 AMRafs
11/16/2020, 10:28 AMSivan
11/16/2020, 10:46 AMRooparsh
11/16/2020, 3:51 PMdhananjaykulkarni19
11/16/2020, 4:22 PMkenkyee
11/16/2020, 10:28 PMlifecycleScope.launchWhenStarted {
how do you set an exception handler? There's no launchWhenStarted(errorHandler) version of this.
try/catch ex:Exception seems like too broad a thing to do...Slackbot
11/17/2020, 8:01 AMNick
11/17/2020, 3:52 PMRyan
11/17/2020, 4:08 PM