package Ġcom . la id pack . s our cer er . generated . we ar Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . View Ċ import Ġandroidx . we ar . widget . Swipe Dismiss Frame Layout Ċ import Ġcom . la id pack . generator . api . ViewGroup Element Ċ import Ġcom . la id pack . s our cer er . generated . Frame Layout Factory Ċ import Ġcom . la id pack . s our cer er . generated . View GroupLayout Params Attributes Ċ import Ġjava . lang . Class Ċ import Ġkotlin . String Ċ Ċ @ ViewGroup Element ( ĊĠĠĠĠĠĠĠ Ġelement Type Ġ= ĠSw ipe Dismiss Frame Layout Factory . elementType , ĊĠĠĠĠĠĠĠ Ġattributes Clazz Ġ= ĠSw ipe Dismiss Frame Layout Attributes :: class , ĊĠĠĠĠĠĠĠ Ġlayout Param Attributes Clazz Ġ= ĠView GroupLayout Params Attributes :: class Ċ ) Ċ open Ġclass ĠSw ipe Dismiss Frame Layout Factory < T View Ġ: ĠSw ipe Dismiss Frame Layout , ĠT Attributes Ġ: ĠSw ipe Dismiss Frame Layout Attributes >( instance Type : ĠClass < T View >, Ġattributes Type : ĠClass < T Attributes >) Ġ: ĠFrame Layout Factory < T View , ĠT Attributes >( instance Type , Ġattributes Type ) Ġ{ ĊĠĠĠ Ġoverride Ġval Ġelement Type : ĠString Ġ= ĠComp anion . elementType ĊĊĠĠĠ Ġoverride Ġfun Ġcreate Instance ( context : ĠContext ): ĠView Ġ= ĠSw ipe Dismiss Frame Layout ( context ) ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval Ġelement Type : ĠString Ġ= Ġ" swipe Dismiss Frame Layout " ĊĊĠĠĠĠĠĠĠ Ġinline Ġoperator Ġfun Ġ< re ified ĠT View Ġ: ĠSw ipe Dismiss Frame Layout , Ġre ified ĠT Attributes Ġ: ĠSw ipe Dismiss Frame Layout Attributes > Ġinvoke () Ġ= ĠSw ipe Dismiss Frame Layout Factory ( T View :: class . java , ĠT Attributes :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ