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
mochadwi / README.md
Created May 12, 2019
Android - Data Binding Error
View README.md
java.lang.RuntimeException: Unable to start activity ComponentInfo{io.mochadwi.go.development/io.mochadwi.view.weather.WeatherActivity}: 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
mochadwi / README.md
Created May 7, 2019
Android - Paging Libray Troubleshoot
View README.md
@mochadwi
mochadwi / config_release.sh
Created Apr 23, 2019
Crashlytics - config_release.sh
View config_release.sh
#!/bin/sh
releasenotes="app/release-notes.txt"
ls -al
cat $releasenotes
if [ -f "$releasenotes" ]
then
echo "$releasenotes found."
echo "deleting $releasenotes..."
rm $releasenotes
echo "$releasenotes deleted successfully!"
@mochadwi
mochadwi / README.md
Last active Apr 22, 2019
Data Binding - Custom Spannable String
View README.md
@mochadwi
mochadwi / README.md
Created Apr 13, 2019
SingeLiveEvent recommended
View README.md
@mochadwi
mochadwi / README.md
Created Apr 12, 2019
Android - Data binding static value
View README.md

https://stackoverflow.com/a/44675483/3763032 Buat yang mau set static value (primitive data type, object, etc) without using model, or any java API di xml:

app:customBinding="@{static_value}" app:customBinding='@{"static_value"}'

thanks @radhikayusuf

You can’t perform that action at this time.