PdfTabBar

open class PdfTabBar : LinearLayout

View showing horizontal list with document tabs.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @NonNull attrs: AttributeSet)
constructor(@NonNull context: Context, @NonNull attrs: AttributeSet, defStyleAttr: Int)

Types

Link copied to clipboard
Listener for clicks on tabs and their close buttons.
Link copied to clipboard
Listener for changes to tabs list.

Functions

Link copied to clipboard
Registers OnTabClickedListener to get notified about clicks on tabs in this tab bar.
Link copied to clipboard
Registers OnTabsChangedListener to get notified when tabs list changes.
Link copied to clipboard
open fun bindToDocumentCoordinator(@NonNull documentCoordinator: DocumentCoordinator)
Binds the tab bar to the DocumentCoordinator.
Link copied to clipboard
open fun getSize(): Int
Returns number of tabs in the tab bar.
Link copied to clipboard
Searches tabs for tab that corresponds to the given document descriptor.
Link copied to clipboard
Returns list of tabs in the tab bar.
Link copied to clipboard
Removes a previously registered OnTabClickedListener.
Link copied to clipboard
Link copied to clipboard
open fun setCloseMode(@NonNull closeMode: PdfTabBarCloseMode)
Sets the tab close mode which determines how the user is able to close documents.
Link copied to clipboard
Unbinds the tab bar from the DocumentCoordinator.