Brendan Weinstein
12/03/2019, 7:38 PMMadalin Valceleanu
12/04/2019, 8:13 AMNikola Milovic
12/04/2019, 10:05 AMhttps://cdn.discordapp.com/attachments/647444029147185162/651724985106432020/Screenshot_20191204-1101392.png▾
Daniel Asher
12/04/2019, 12:43 PMThe status and type of a thread is indicated by a special icon and a textual note next to the thread's name.
and googling is not much better.
So how do I parse "pool-2-thread-1 @coroutine#3"@4514 in group "main"
?
What is @4514
? and what is group "main"
?
Doing a thread dump, at the top of the stack for this thread is "pool-2-thread-1 @coroutine#3@4514" prio=5 tid=0x10 nid=NA runnable
, so this is not on the main thread: "main"@1 in group "main"
with thread dump: "main@1" prio=5 tid=0x1 nid=NA waiting
Cheers, DanielMutlu Celep
12/04/2019, 8:58 PMrepositories {
maven { setUrl("<https://urbanairship.bintray.com/android>") }
maven { setUrl("<https://clojars.org/repo/>") }
maven {
setUrl("<https://jfrog.io/>...")
credentials {
username = "..."
password = "...."
}
}
mavenCentral()
}
David Whittaker
12/05/2019, 4:42 AMJoey
12/05/2019, 9:09 AMIve Vasiljevic
12/05/2019, 1:22 PMvoben
12/05/2019, 6:46 PMlaunch
, launchWhenStarted
or launchWhenResumed
. Assuming I’m calling this in the fragment’s onViewCreated
viewLifecycleOwner.lifecycleScope.launchWhenResumed { }
g4sarma
12/05/2019, 8:11 PMthymecypher
12/06/2019, 1:20 AMGeert
12/06/2019, 8:18 PMNikola Milovic
12/07/2019, 10:34 AMAbraham Andres Luna
12/09/2019, 3:37 AMrutowiczprzemyslaw
12/09/2019, 12:44 PMAyden
12/09/2019, 1:14 PMursus
12/10/2019, 5:43 AMIve Vasiljevic
12/10/2019, 11:04 AMJames Richardson
12/10/2019, 11:07 AMdave08
12/10/2019, 1:38 PMIntentService
using Coroutines and built on top of a LifecycleService
?Konstantin Tskhovrebov
12/10/2019, 2:03 PMProperty Wrapper
Kulwinder Singh
12/11/2019, 4:23 AMonActive
is called immedietly but it won't update value
of live data until suspending
task inside other ViewModel
finished
class DocumentLiveData<T>(
private val documentReference: DocumentReference,
private val typeClass: Class<T>
) : LiveData<T>() {
override fun onActive() {
super.onActive()
listener = documentReference.addSnapshotListener(changes) { documentSnapshot, exception ->
//this listener is called but `value` is not updated immedietly
if (exception == null && documentSnapshot?.exists() == true) {
value = documentSnapshot.toObject(typeClass)
} else {
value = null
}
}
}
}
Cake
12/11/2019, 12:44 PMstantronic
12/11/2019, 1:25 PMsilvio
12/11/2019, 3:12 PMNikola Milovic
12/11/2019, 6:17 PM<style name="ImageButtonStyle" parent="Widget.AppCompat.ImageButton">
<item name="android:color">@color/secondaryColor</item>
<item name="android:tint">@color/secondaryColor</item> // works as its src now
<item name="android:layout_width">80dp</item> //doesnt work
<item name="android:layout_height">80dp</item> // doesnt work
<item name="android:background">@android:color/transparent</item>
</style>
android:src="@drawable/ic_favorite"
hesam
12/11/2019, 7:58 PMBrowse
button in my activity. When user click it, I want to let user pick image(s) from the gallery. Also, I want user to be able to take photo(s) from that. Do you know any library that handles these cases? Thank you.Tram Ngo
12/12/2019, 3:57 AM<https://stackoverflow.com/questions/41190803/is-there-a-way-to-bulk-convert-svg-files-using-android-asset-studio>
Is that any formal lib from google???
Many ThanksIsaac Udy
12/12/2019, 6:53 AMmurdock
12/12/2019, 3:18 PMabstract class ScanPresenter : MvpPresenter<ScanView>() {
abstract fun applyFilter(imageFilterType: ImageFilterType)
}
class ScanPresenterImpl @Inject constructor() : ScanPresenter() {
override fun applyFilter(imageFilterType: ImageFilterType) {
}
}
This wont compile for some reasonmurdock
12/12/2019, 3:18 PMabstract class ScanPresenter : MvpPresenter<ScanView>() {
abstract fun applyFilter(imageFilterType: ImageFilterType)
}
class ScanPresenterImpl @Inject constructor() : ScanPresenter() {
override fun applyFilter(imageFilterType: ImageFilterType) {
}
}
This wont compile for some reasonDominaezzz
12/12/2019, 5:12 PMmurdock
12/12/2019, 7:57 PMlouiscad
01/02/2020, 9:45 AMmurdock
01/10/2021, 1:02 AM