abanoub.wagdy91
06/02/2017, 4:42 PMchuck
06/02/2017, 9:20 PMNoClassDefFoundError
, anyone have any thoughts?
Throws a `NoClassDefFoundError`:
val intent = Intent(this, MyActivity::class.java)
startActivity(intent)
Works fine:
Handler(Looper.getMainLooper()).post {
val intent = Intent(this, MyActivity::class.java)
startActivity(intent)
}
EDIT: This only happens pre-lollipop.bachhuberdesign
06/02/2017, 10:23 PMbachhuberdesign
06/02/2017, 10:23 PMtrevjones
06/02/2017, 10:26 PMdamian
06/02/2017, 10:36 PMabanoub.wagdy91
06/02/2017, 11:54 PMabanoub.wagdy91
06/02/2017, 11:55 PMabanoub.wagdy91
06/02/2017, 11:55 PMabanoub.wagdy91
06/02/2017, 11:56 PMumar
06/03/2017, 12:05 AMabanoub.wagdy91
06/03/2017, 12:08 AMabanoub.wagdy91
06/03/2017, 12:09 AMaaron_c
06/03/2017, 2:19 AMtheme
attribute on an element with Anko, but I'm not really seeing that it's possible. Am I missing something?aaron_c
06/03/2017, 2:19 AMnulldev
06/03/2017, 2:27 AMasync
and extension functions
are not best practices, they are just different ways to write code. You can safely ignore them until you fully understand how to use them.ben.slama.jihed
06/03/2017, 3:47 PMben.slama.jihed
06/03/2017, 3:48 PMricojamie
06/03/2017, 4:39 PMricojamie
06/03/2017, 4:40 PMtable.PNG▾
agrosner
06/03/2017, 4:44 PM@Query("SELECT DISTINCT Category FROM Exercises")
fun queryDistinctExercises() : List<DistinctCategory>
data class DistinctCategory(@ColumnInfo(name = "Category") val category)
ricojamie
06/03/2017, 4:51 PMagrosner
06/03/2017, 4:54 PMyperess
06/03/2017, 6:54 PM<http://mainHandler.post|mainHandler.post> {
if (messages.removeIf { it.id == messageId })
messagesLiveData.value = messages
}
yperess
06/03/2017, 6:56 PMyperess
06/03/2017, 6:57 PMmmaillot
06/03/2017, 9:10 PMabanoub.wagdy91
06/03/2017, 10:29 PMabanoub.wagdy91
06/03/2017, 10:29 PMabanoub.wagdy91
06/03/2017, 10:30 PM