Sign Up

Sign In

Forgot Password

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

Sorry, you do not have a permission to ask a question, You must login to ask question.

Discy Latest Questions

  • 0
  • 0

What makes me puzzled is how to bind view in Recycleler.ViewHolder. This is my simple adapter and how to Convert it to kotlin use kotlin-android-extensions without ButterKnife? public class RoomAdapter extends RecyclerView.Adapter<ViewHolder> { private OnItemClickListener mListener; private List<LocationBean> mRooms; static class ViewHolder ...

  • 0
  • 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
  • 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.suspendCoroutine class WarehousesViewModel(private val simRepository: SimRepository) : BaseReactViewModel<WarehousesViewData>(), CoroutineScope { private val job = ...

close