TinkMoneyManager

object TinkMoneyManager

Functions

Link copied to clipboard
fun getContainerById(@IdRes containerViewId: Int, listener: OnCustomContainerCreatedListener)

This method finds the CustomView container against provided ID and passes it in the callback which is used to inflate CustomView (inside returned container)

Link copied to clipboard
fun init(    accessToken: String,     @StyleRes styleResId: Int,     tracker: Tracker? = null,     backPressedListener: OnBackPressedListener? = null,     editPendingTransaction: Boolean = true,     enableTransactionDetail: Boolean = true,     enableRecommendedBudget: Boolean = true,     enableBudgetCreationSuccessScreen: Boolean = true,     enableSafeToSpend: Boolean = true,     enableSubscriptions: Boolean,     entryPoint: EntryPoint,     @IdRes containerId: Int,     fragmentManager: FragmentManager)

Call this method to start Tink Money Manager SDK.

Link copied to clipboard
fun isSdkActive(): Boolean

Checks the current status of the Tink SDK.

Link copied to clipboard
fun onBackPressed()

This method calls SDK's internal backStack handler If SDK backStack is empty then removeTinkFragment&clear methods are called

Link copied to clipboard
fun onRestore(fragmentManager: FragmentManager)

This method should be called after recreation of Activity/Fragment