package Ġio . github . d roid ka igi . conf sched 2 0 1 8 . presentation . common . binding Ċ Ċ import Ġandroid . content . res . Color State List Ċ import Ġandroid . databinding . Binding Adapter Ċ import Ġandroid . graphics . drawable . Drawable Ċ import Ġandroid . support . design . widget . Floating ActionButton Ċ import Ġandroid . support . v 4 . graphics . drawable . Drawable Compat Ċ Ċ @ Binding Adapter (" tint Compat ") Ċ fun ĠFloating ActionButton . set Tint Compat ( color State List : ĠColor State List ) Ġ{ ĊĠĠĠ Ġvar Ġicon : ĠDrawable ? Ġ= Ġdrawable ĊĠĠĠ Ġif Ġ( icon Ġ!= Ġnull ) Ġ{ ĊĠĠĠĠĠĠĠ Ġicon Ġ= ĠDrawable Compat . wrap ( icon ) ĊĠĠĠĠĠĠĠ ĠDrawable Compat . set Tint List ( icon , Ġcolor State List ) ĊĠĠĠĠĠĠĠ Ġset Image Drawable ( icon ) ĊĠĠĠ Ġ} Ċ } Ċ