Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I’m getting this error java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter event for the line override fun onEditorAction(v: TextView, actionId: Int, event: KeyEvent) Following is the entire code. This code was originally in java, I converted it to Kotlin using Android ...

  • 0

I have problems referencing my android library modules in my projects. Beside the main app module I use to have an android library module with either util stuff or as data module. I reference it in app module like that: dependencies ...

  • 0

  I’m trying to make a background call to my local database and update the UI with the results using coroutines. Here is my relevant code: import kotlinx.coroutines.experimental.* import kotlinx.coroutines.experimental.Dispatchers.IO import kotlinx.coroutines.experimental.Dispatchers.Main import kotlin.coroutines.experimental.CoroutineContext import kotlin.coroutines.experimental.suspendCoroutineclass WarehousesViewModel(private val simRepository: SimRepository) : BaseReactViewModel<WarehousesViewData>(), CoroutineScope {private val job = ...

  • 0

I am using component development, in my common module BaseActivity.kt and BaseFragment.kt. The following problems occur when other modules inherit them > D:AndroidOneDailymodule_mainsrcmainjavacombocomainMainActivity.kt > Error:(7, 24) Unresolved reference: base > Error:(9, 22) Unresolved reference: BaseActivity > Error:(21, 5) 'onCreate' overrides nothing > Error:(17, ...

  • 0

The error states that the parameter savedInstanceState is null, when it is specified as non-null; but it is nullable (savedInstanceState: Bundle?) and the onCreate() method is marked as @Nullable in the source. I have not come across this error in any of my other Kotlin projects. I ...

close