getView

abstract suspend fun getView(context: Context, numberSavedPasswords: Int): View?

Returns a view to be displayed in the passwords screen, or null if the promotion should not be shown.

Return

Some promotions may require criteria to be met before they are shown. If the criteria is not met, this method should return null.

Parameters

context

The context to use to inflate the view.

numberSavedPasswords

The number of saved passwords.