tripkit-android / com.skedgo.tripkit.ui.map / SimpleCalloutView
SimpleCalloutView
class SimpleCalloutView : LinearLayout
View to create custom callout in `[
InfoWindowAdapter`](#), simply including a title, a snippet, a left image and a right image.
Constructors
Name | Summary |
---|---|
<init> | Should not invoke this constructor directly. Use [`#create(LayoutInflater)`](create.md) instead.`SimpleCalloutView(context: Context!) SimpleCalloutView(context: Context!, attrs: AttributeSet!)<br> SimpleCalloutView(context: Context!, attrs: AttributeSet!, defStyleAttr: [ Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) )<br> SimpleCalloutView(context: Context!, attrs: AttributeSet!, defStyleAttr: [ Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) , defStyleRes: [ Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) )` |
Functions
Name | Summary |
---|---|
create | static fun create(inflater: LayoutInflater): SimpleCalloutView ! |
onFinishInflate | fun onFinishInflate(): Unit |
setLeftImage | fun setLeftImage(res: Int ): Unit |
setRightImage | fun setRightImage(res: Int ): Unit |
setSnippet | fun setSnippet(snippet: String ?): Unit |
setTitle | fun setTitle(title: String ?): Unit |