package com.ustadmobile.port.android.view.binding;

import java.lang.System;

@kotlin.Metadata(mv = {1, 6, 0}, k = 2, d1 = {"\u0000\u0080\u0001\n\u0000\n\u0002\u0010$\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\u001a\u0014\u0010\f\u001a\u00020\r*\u00020\t2\u0006\u0010\u000e\u001a\u00020\u000fH\u0007\u001a\u000e\u0010\u0010\u001a\u0004\u0018\u00010\u0011*\u00020\tH\u0007\u001a\u0016\u0010\u0012\u001a\u00020\r*\u00020\t2\b\u0010\u0012\u001a\u0004\u0018\u00010\u0013H\u0007\u001a\u0014\u0010\u0014\u001a\u00020\r*\u00020\t2\u0006\u0010\u0015\u001a\u00020\u0016H\u0007\u001a\u0014\u0010\u0017\u001a\u00020\r*\u00020\t2\u0006\u0010\u0018\u001a\u00020\u0019H\u0007\u001a\u0016\u0010\u001a\u001a\u00020\r*\u00020\t2\b\u0010\u001b\u001a\u0004\u0018\u00010\u001cH\u0007\u001a\u0016\u0010\u001d\u001a\u00020\r*\u00020\t2\b\u0010\u001e\u001a\u0004\u0018\u00010\u001fH\u0007\u001a \u0010 \u001a\u00020\r*\u00020\t2\b\u0010!\u001a\u0004\u0018\u00010\u00112\b\u0010\"\u001a\u0004\u0018\u00010\u0013H\u0007\u001a \u0010#\u001a\u00020\r*\u00020\t2\u0006\u0010$\u001a\u00020%2\n\b\u0002\u0010&\u001a\u0004\u0018\u00010\u0011H\u0007\u001a\u0014\u0010\'\u001a\u00020\r*\u00020\t2\u0006\u0010(\u001a\u00020)H\u0007\u001a\u0014\u0010*\u001a\u00020\r*\u00020\t2\u0006\u0010+\u001a\u00020,H\u0007\u001a\u0014\u0010-\u001a\u00020\r*\u00020\t2\u0006\u0010.\u001a\u00020\u0002H\u0007\u001a1\u0010/\u001a\u00020\r*\u00020\t2\u0014\u00100\u001a\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u00012\b\u00101\u001a\u0004\u0018\u00010\u0002H\u0007\u00a2\u0006\u0002\u00102\u001a\u0014\u00103\u001a\u00020\r*\u00020\t2\u0006\u00104\u001a\u00020\u0002H\u0007\u001a\u0014\u00105\u001a\u00020\r*\u00020\t2\u0006\u00106\u001a\u000207H\u0007\u001a\u0014\u00108\u001a\u00020\r*\u0002092\u0006\u0010:\u001a\u00020;H\u0007\u001a\u0014\u0010<\u001a\u00020\r*\u00020\t2\u0006\u0010=\u001a\u00020,H\u0007\u001a\f\u0010>\u001a\u00020\r*\u00020\tH\u0002\u001a\f\u0010?\u001a\u00020\r*\u00020\tH\u0002\u001a\f\u0010@\u001a\u00020\r*\u00020\tH\u0002\"\'\u0010\u0000\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00020\u00018BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0005\u0010\u0006\u001a\u0004\b\u0003\u0010\u0004\"\u0015\u0010\u0007\u001a\u00020\b*\u00020\t8F\u00a2\u0006\u0006\u001a\u0004\b\n\u0010\u000b\u00a8\u0006A"}, d2 = {"ICON_ID_MAP", "", "", "getICON_ID_MAP", "()Ljava/util/Map;", "ICON_ID_MAP$delegate", "Lkotlin/Lazy;", "foreignKeyProps", "Lcom/ustadmobile/port/android/view/binding/ImageViewForeignKeyProps;", "Landroid/widget/ImageView;", "getForeignKeyProps", "(Landroid/widget/ImageView;)Lcom/ustadmobile/port/android/view/binding/ImageViewForeignKeyProps;", "getImageFilePath", "", "inverseBindingListener", "Landroidx/databinding/InverseBindingListener;", "getRealImageFilePath", "", "imageForeignKeyPlaceholder", "Landroid/graphics/drawable/Drawable;", "isContentCompleteImage", "person", "Lcom/ustadmobile/lib/db/entities/PersonWithSessionsDisplay;", "setAttendanceTint", "attendancePercentage", "", "setCustomFieldIcon", "customField", "Lcom/ustadmobile/lib/db/entities/CustomField;", "setIconOnProgressFlag", "progress", "Lcom/ustadmobile/lib/db/entities/ContentEntryStatementScoreProgress;", "setImageFilePath", "imageFilePath", "fallbackDrawable", "setImageForeignKey", "imageForeignKey", "", "imageForeignKeyEndpoint", "setImageForeignKeyAdapter", "foreignKeyAttachmentUriAdapter", "Lcom/ustadmobile/port/android/view/util/ForeignKeyAttachmentUriAdapter;", "setImageForeignKeyAutoHide", "autoHide", "", "setImageLookupKey", "imageLookupKey", "setImageLookupMap", "imageLookupMap", "imageLookupFallback", "(Landroid/widget/ImageView;Ljava/util/Map;Ljava/lang/Integer;)V", "setImageResIdInt", "resId", "setImageViewLifecycleObserver", "imageViewLifecycleObserver", "Lcom/ustadmobile/port/android/view/binding/ImageViewLifecycleObserver2;", "setMessageIconVisibility", "Landroid/view/View;", "message", "Lcom/ustadmobile/lib/db/entities/MessageWithPerson;", "setScopedGrantEnabledIcon", "enabled", "updateFromImageLookupMap", "updateImageFromForeignKey", "updateImageViewLifecycleObserver", "app-android_release"})
public final class ImageViewBindingsKt {
    private static final kotlin.Lazy ICON_ID_MAP$delegate = null;
    
    @androidx.databinding.BindingAdapter(value = {"imageUri", "fallbackDrawable"}, requireAll = false)
    public static final void setImageFilePath(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageFilePath, @org.jetbrains.annotations.Nullable()
    java.lang.String imageFilePath, @org.jetbrains.annotations.Nullable()
    android.graphics.drawable.Drawable fallbackDrawable) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageUriAttrChanged"})
    public static final void getImageFilePath(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$getImageFilePath, @org.jetbrains.annotations.NotNull()
    androidx.databinding.InverseBindingListener inverseBindingListener) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageViewLifecycleObserver"})
    public static final void setImageViewLifecycleObserver(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageViewLifecycleObserver, @org.jetbrains.annotations.NotNull()
    com.ustadmobile.port.android.view.binding.ImageViewLifecycleObserver2 imageViewLifecycleObserver) {
    }
    
    private static final void updateImageViewLifecycleObserver(android.widget.ImageView $this$updateImageViewLifecycleObserver) {
    }
    
    @org.jetbrains.annotations.Nullable()
    @androidx.databinding.InverseBindingAdapter(attribute = "imageUri")
    public static final java.lang.String getRealImageFilePath(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$getRealImageFilePath) {
        return null;
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageForeignKey", "imageForeignKeyEndpoint"}, requireAll = false)
    public static final void setImageForeignKey(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageForeignKey, long imageForeignKey, @org.jetbrains.annotations.Nullable()
    java.lang.String imageForeignKeyEndpoint) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageForeignKeyPlaceholder"})
    public static final void imageForeignKeyPlaceholder(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$imageForeignKeyPlaceholder, @org.jetbrains.annotations.Nullable()
    android.graphics.drawable.Drawable imageForeignKeyPlaceholder) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageForeignKeyAutoHide"})
    public static final void setImageForeignKeyAutoHide(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageForeignKeyAutoHide, boolean autoHide) {
    }
    
    @org.jetbrains.annotations.NotNull()
    public static final com.ustadmobile.port.android.view.binding.ImageViewForeignKeyProps getForeignKeyProps(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$foreignKeyProps) {
        return null;
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageForeignKeyAdapter"})
    public static final void setImageForeignKeyAdapter(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageForeignKeyAdapter, @org.jetbrains.annotations.NotNull()
    com.ustadmobile.port.android.view.util.ForeignKeyAttachmentUriAdapter foreignKeyAttachmentUriAdapter) {
    }
    
    /**
     * Because using a single binding adapter does not seem to trigger changes as expected when only
     * one property has changed.
     */
    private static final void updateImageFromForeignKey(android.widget.ImageView $this$updateImageFromForeignKey) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"customFieldIcon"})
    public static final void setCustomFieldIcon(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setCustomFieldIcon, @org.jetbrains.annotations.Nullable()
    com.ustadmobile.lib.db.entities.CustomField customField) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"attendanceTint"})
    public static final void setAttendanceTint(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setAttendanceTint, float attendancePercentage) {
    }
    
    /**
     * This binder will handle situations where there is a fixed list of flags, each of which
     * corresponds to a given drawable ID
     *
     * e.g.
     *
     * class MyFragment {
     *   companion object {
     *      @JvmField
     *      val CONTENT_TYPE_ICON_MAP = mapOf(ContentEntry.TYPE_EBOOK to R.drawable.ic_book,
     *                      ContentEntry.TYPE_EXERCISE to R.drawable.ic_assignment)
     *   }
     * }
     *
     * You can then use the following in the view XML:
     *
     * &lt;import class="com.packagepath.MyFragment"/&gt;
     *
     * &lt;TextView
     * ...
     * app:imageLookupKey="@{entityObject.contentType}"
     * app:imageLookupMap="@{MyFragment.CONTENT_TYPE_ICON_MAP}"
     * /&gt;
     *
     * Optionally you can set imageLookupFallback to set an image that will be displayed in case the
     * key is not found in the map.
     */
    @androidx.databinding.BindingAdapter(value = {"imageLookupKey"})
    public static final void setImageLookupKey(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageLookupKey, int imageLookupKey) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageLookupMap", "imageLookupFallback"}, requireAll = false)
    public static final void setImageLookupMap(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageLookupMap, @org.jetbrains.annotations.Nullable()
    java.util.Map<java.lang.Integer, java.lang.Integer> imageLookupMap, @org.jetbrains.annotations.Nullable()
    java.lang.Integer imageLookupFallback) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"iconProgressFlag"})
    public static final void setIconOnProgressFlag(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setIconOnProgressFlag, @org.jetbrains.annotations.Nullable()
    com.ustadmobile.lib.db.entities.ContentEntryStatementScoreProgress progress) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"scopedGrantEnabledIcon"})
    public static final void setScopedGrantEnabledIcon(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setScopedGrantEnabledIcon, boolean enabled) {
    }
    
    @kotlin.Suppress(names = {"UNCHECKED_CAST"})
    private static final void updateFromImageLookupMap(android.widget.ImageView $this$updateFromImageLookupMap) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"isContentCompleteImage"})
    public static final void isContentCompleteImage(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$isContentCompleteImage, @org.jetbrains.annotations.NotNull()
    com.ustadmobile.lib.db.entities.PersonWithSessionsDisplay person) {
    }
    
    private static final java.util.Map<java.lang.Integer, java.lang.Integer> getICON_ID_MAP() {
        return null;
    }
    
    @androidx.databinding.BindingAdapter(value = {"imageResIdInt"})
    public static final void setImageResIdInt(@org.jetbrains.annotations.NotNull()
    android.widget.ImageView $this$setImageResIdInt, int resId) {
    }
    
    @androidx.databinding.BindingAdapter(value = {"messageIconVisibility"})
    public static final void setMessageIconVisibility(@org.jetbrains.annotations.NotNull()
    android.view.View $this$setMessageIconVisibility, @org.jetbrains.annotations.NotNull()
    com.ustadmobile.lib.db.entities.MessageWithPerson message) {
    }
}