mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Add inline emoji search.
This commit is contained in:
committed by
Greyson Parrelli
parent
ba7319e215
commit
19af68a27c
@@ -22,3 +22,9 @@ fun ConstraintLayout.changeConstraints(change: ConstraintSet.() -> Unit) {
|
||||
set.change()
|
||||
set.applyTo(this)
|
||||
}
|
||||
|
||||
inline fun View.doOnEachLayout(crossinline action: (view: View) -> Unit): View.OnLayoutChangeListener {
|
||||
val listener = View.OnLayoutChangeListener { view, _, _, _, _, _, _, _, _ -> action(view) }
|
||||
addOnLayoutChangeListener(listener)
|
||||
return listener
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
package org.thoughtcrime.securesms.util.adapter.mapping
|
||||
|
||||
/** Syntactic sugar for wildcard generic */
|
||||
typealias AnyMappingModel = MappingModel<*>
|
||||
Reference in New Issue
Block a user