Kshitij Patil
12/13/2020, 4:57 PMdatastore-preferences
version 1.0.0-alpha05
and AS 4.2 Canary 16sbeve
12/13/2020, 5:05 PMPeter Farlow
12/14/2020, 3:11 PMtylerwilson
12/14/2020, 11:48 PMConfiguration with name ‘testApi’ not found.Anybody else see this?
diego-gomez-olvera
12/15/2020, 12:30 PMMissing Parcelable CREATOR field
after migrating to `kotlin-parcelize`(Kotlin 1.4.21) ? I see that the field is generated:
public static final android.os.Parcelable.Creator CREATOR = new Action.Creator();
andodeki
12/15/2020, 6:00 PMpaulex
12/16/2020, 12:29 PMAlf_
12/16/2020, 1:30 PMRohit
12/16/2020, 1:44 PMElnur Jeksenov
12/16/2020, 2:17 PMNana Vong
12/17/2020, 5:45 AMinline fun <T : Any> fromServerResp(json: String): T {
val baseResp: BaseResp<T> =
Gson().fromJson(json, object : TypeToken<BaseResp<T>>() {}.type)
...
return baseResp.data!!
Why the inline function generates a new class when it is called across modules, but it cannot be called in the same module?Jaime Guerrero
12/17/2020, 6:40 AMMark
12/18/2020, 6:46 AM-ktx
dependency that would be better to use? I only recently discovered firebase-analytics-ktx
and firebase-crashlytics-ktx
(as well as the whole firebase BoM thing)Drasko Saric
12/18/2020, 11:14 AMtarget="_blank"
and I have appropriate js script injected when onPageFinished
is called:
webView.webViewClient = object : WebViewClient() {
override fun onPageFinished(view: WebView, url: String?) {
Timber.d("onPageFinished: url = $url")
view.loadUrl("javascript: var allLinks = document.getElementsByTagName('a'); if (allLinks) {var i;for (i=0; i<allLinks.length; i++) {var link = allLinks[i]; var target = link.getAttribute('target'); if (target && target == '_blank') { link.removeAttribute('target');}}}")
}
This handling works for websites that provide their content immediately and this function is called when actual page loading is finished, but loading tweets is done asynchronously long after that. Does anyone have any idea how can I handle those newly injected urls in the page and change their target
attributes ?andodeki
12/18/2020, 8:03 PMUmar Ata
12/19/2020, 5:29 PMandym
12/21/2020, 3:10 AMw: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
/Users/snip/.gradle/caches/transforms-2/files-2.1/bac97eb1605b4833d56979273f673da2/jetified-kotlin-stdlib-jdk7-1.4.21.jar (version 1.4)
/Users/snip/.gradle/caches/transforms-2/files-2.1/924035e17cc9c5fe36bf2b18b22aa2fb/jetified-kotlin-reflect-1.3.50.jar (version 1.3)
/Users/snip/.gradle/caches/transforms-2/files-2.1/0e4359b74f91d4fdd98cefa0d215fe0c/jetified-kotlin-stdlib-1.4.21.jar (version 1.4)
/Users/snip/.gradle/caches/transforms-2/files-2.1/84264f1288926d1cb0c7b30f75e01627/jetified-kotlin-stdlib-common-1.4.21.jar (version 1.4)
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
UnAn
12/21/2020, 9:19 AMandodeki
12/21/2020, 10:26 AMMark
12/22/2020, 3:16 AMSupportSQLiteOpenHelper
. So, suspend funs for getReadableDatabase()
etc, and a callback with suspend fun onUpgrade()
etc.Slackbot
12/22/2020, 4:27 PMChetan Sachdeva
12/22/2020, 6:19 PMclass ClassA<B: ClassB<*>> {
}
class ClassB<A: ClassA<*>> {
}
I’m getting an error: This type parameter violates the Finite Bound Restriction
.
What am I doing wrong here?Sergio C.
12/22/2020, 6:32 PMSlackbot
12/23/2020, 10:55 AMVikas Singh
12/23/2020, 8:23 PMJason
12/24/2020, 9:17 AMviewModelScope.launch(Dispatchers.Main) {
while (true) {}
}
OR
viewModelScope.launch(Dispatchers.Main) {
delay(TimeUnit.SECONDS.toMillis(5))
}
But UI is stuck but ANR does not occur … Any help?Kshitij Patil
12/24/2020, 9:44 AMAlexander Khyzhun
12/24/2020, 11:55 AMpaulex
12/24/2020, 6:33 PMsan
12/25/2020, 8:40 AMsan
12/25/2020, 8:40 AMtreatmaster
12/25/2020, 11:08 AMsan
12/25/2020, 11:10 AMFunkyMuse
12/26/2020, 10:16 AMZac Sweers
01/02/2021, 9:57 AM