Saran Sankaran
05/15/2020, 5:51 AMcheckOrginization()
method after completing the loop in success listener. Am’I getting it right?Ananiya
05/15/2020, 7:37 AMcases_by_country.php
to /cases_by_country.php
and even i change API_BASE_URL
value from <https://coronavirus-monitor.p.rapidapi.com/coronavirus/>
to <https://coronavirus-monitor.p.rapidapi.com/coronavirus/cases_by_coutry.php/>
still it returns null why ? 🤔Remon Shehata
05/15/2020, 11:22 AMEditText
and I had addTextChangedListener
. I switched to TextInputEditText
and I can't find the listener now!myanmarking
05/15/2020, 1:44 PMVictor Maoya
05/15/2020, 2:46 PMLeon johnson
05/15/2020, 3:27 PMSamyak Jain
05/16/2020, 9:46 AMWarning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.ByteBuffer clear()' in library class java.nio.ByteBuffer
Warning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.CharBuffer position(int)' in library class java.nio.CharBuffer
Warning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.CharBuffer limit(int)' in library class java.nio.CharBuffer
Warning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.ByteBuffer flip()' in library class java.nio.ByteBuffer
Warning: there were 16 unresolved references to library class members.
You probably need to update the library versions.
(<http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember>)
:kotlin-compiler:proguard FAILED
:kotlin-compiler:proguard (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 17.994 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kotlin-compiler:proguard'.
> <http://java.io|java.io>.IOException: Please correct the above warnings first.
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':kotlin-compiler:proguard'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
Hi, I was trying to build source code using Gradle, I encountered the above error, can someone please guide me Why it is occurring? and What can be done?vinny2020
05/16/2020, 1:34 PMMark
05/17/2020, 4:07 AMfun length(): Int
to val length: Int
?Steve F
05/17/2020, 4:48 AMJoan Colmenero
05/17/2020, 10:53 AMBidemi Muibudeen
05/17/2020, 5:19 PMAnaniya
05/17/2020, 5:44 PMApex
05/17/2020, 7:11 PMAurelian Ticușan
05/18/2020, 3:47 PMpublic final class UtilityClass {
private UtilityClass() {
// Utility class
}
public enum FirstEnum {
FIRST_OPTION, SECOND_OPTION, THIRD_OPTION, NONE
}
}
While the the data class in Kotlin is as follows
data class KotlinClass(val option: UtilityClass.FirstEnum = UtilityClass.FirstEnum.NONE)
Does anyone maybe know why I get "Unresolved reference: UtilityClass" trying to access the enum from my utility class? Both classes are in same package, so no imports required, I've tried moving either class in another package, but the issue persists
I had no luck finding a solution for this, I can't find anything even remotely similar to this problemTarunY
05/19/2020, 9:17 AMJolas
05/19/2020, 11:31 AMNikolay Puliaev
05/19/2020, 12:59 PMDenys
05/19/2020, 2:06 PMColton Idle
05/19/2020, 6:57 PMSam
05/20/2020, 4:13 AMFatal Exception: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:860)
My code:
val dataConversation = ArrayList<Conversation>() // global
// in background ( I have use Epoxy - Airbnb )
val cloneListConcurrency = arrayListOf<Conversation>().apply { addAll(dataConversation) }
with(cloneListConcurrency.iterator()) {
forEach {
// do something to display
}}
// in background
fun deleteConversation(conversationId: String?) {
for (index in 0 until dataConversation.size) {
val item = dataConversation[index]
if (item.id == conversationId) {
dataConversation.removeAt(index)
break
}
}
}
Many Thanks.Manuel Lorenzo
05/20/2020, 11:14 AMsanket
05/20/2020, 11:59 AMTim
05/20/2020, 1:42 PMKents
05/20/2020, 2:43 PMbinding.quickviewDrawer.addDrawerListener(listener)
but the listener seems to be getting nulled out when I add a breakpoint in DrawerLayout.java Anyone have an idea why my listener is not persisting?henrikhorbovyi
05/20/2020, 9:52 PMisVisible
, isInvisible
, isGone
extensions?
I mean, first time I implemented KTX in my project I expected something like: gone()
, visible()
, invisible()
iex
05/21/2020, 8:37 AMRemon Shehata
05/21/2020, 5:55 PMvinny2020
05/21/2020, 7:20 PMOG
05/21/2020, 10:03 PMOG
05/21/2020, 10:03 PMHarun
05/22/2020, 8:02 AM