OpenFileHandler

interface OpenFileHandler<T>

interface, which determines the behavior when opening source code, etc. PreviewLabGallery に指定することで機能するようになります。

PreviewLabGallery(
openFileHandler = object : OpenFileHandler<UriHandler> { ... }
)

Parameters

T

Type of value that must be configured in the Composable function.

Inheritors

Types

Link copied to clipboard
class Params<T>

Functions

Link copied to clipboard
abstract fun configure(): T

If there is data that needs to be prepared in the Composable function, specify it here.

Link copied to clipboard
abstract fun openFile(params: OpenFileHandler.Params<T>)

Open a file in the project.