Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Mochamad Iqbal Dwi Cahyo mochadwi

I may be slow to respond.
  • Bandung
Block or report user

Report or block mochadwi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mochadwi /
Last active Sep 5, 2019
Certification - Mochamad Iqbal Dwi Cahyo

1. Mindorks Bootcamp - Android for Professionals

Building an Instagram apps, understanding the reactive programming (RxJava), clean architecture with MVVM, latest technology of android architecture components, a dependency injection with Dagger.

Mindorks Bootcamp

2. Kotlin Jetbrains TheAkademy - Kotlin for Android

Coming soon.

Kotlin Jetbrains TheAkademy

3. Dicoding - Kotlin Associate

Coming soon.

mochadwi / adapter.kt
Last active Jul 14, 2019
ObservableField vs. LiveData
View adapter.kt
class Adapter(list: ArrayList<String>) : RecyclerView.ViewHolder(binding.root) {
// 02. using observablefield
// variable binding is your item.xml, generated into -> ItemBinding
lateinit val binding: ItemBinding // this should be defined on your project.
fun changeVariableA(msg: String) {
binding.apply {
message = msg
executePendingBindings() // directly tells the binding to be updated, without delay
mochadwi /
Created May 12, 2019
Android - Data Binding Error
java.lang.RuntimeException: Unable to start activity ComponentInfo{io.mochadwi.go.development/}: java.lang.IllegalStateException: Required DataBindingComponent is null in class CustomLoadingBindingImpl. A BindingAdapter in io.mochadwi.util.binding.ProgressBinding is not static and requires an object to use, retrieved from the DataBindingComponent. If you don't use an inflation method taking a DataBindingComponent, use DataBindingUtil.setDefaultComponent or make all BindingAdapter methods static.
mochadwi /
Created May 7, 2019
Android - Paging Libray Troubleshoot
mochadwi /
Created Apr 23, 2019
Crashlytics -
ls -al
cat $releasenotes
if [ -f "$releasenotes" ]
echo "$releasenotes found."
echo "deleting $releasenotes..."
rm $releasenotes
echo "$releasenotes deleted successfully!"
mochadwi /
Last active Apr 22, 2019
Data Binding - Custom Spannable String
You can’t perform that action at this time.