This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.seebrock3r.common.widget | |
import android.graphics.Canvas | |
import android.graphics.Paint | |
import android.graphics.Rect | |
import android.view.View | |
import androidx.annotation.ColorInt | |
import androidx.annotation.Px | |
import androidx.core.graphics.withTranslation | |
import androidx.core.view.children |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Specific class for a RealmList<Bar> field | |
public class BarListParcelConverter extends RealmListParcelConverter<Bar> { | |
@Override | |
public void itemToParcel(Bar input, Parcel parcel) { | |
parcel.writeParcelable(Parcels.wrap(input), 0); | |
} | |
@Override | |
public Bar itemFromParcel(Parcel parcel) { |