Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (11 loc) · 674 Bytes

File metadata and controls

19 lines (11 loc) · 674 Bytes

kakao / com.agoda.kakao.pager2 / KViewPager2 / perform

perform

infix fun perform(function: KViewPager2.() -> Unit): KViewPager2

Infix function for invoking lambda on your view

Sometimes instance of view is a result of a function or constructor. In this specific case you can't call invoke() since it will be considered as tail lambda of your fun/constructor. In such cases please use this function.

Parameters

function - Tail lambda with receiver which is your view

Return This object