ResourceReaderHelper

Helper class for reading resource files

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun readAssetFile(ctx: Context, assetFilePath: String): String
Reads the contents of an asset file at the specified path.
Link copied to clipboard
open fun readResourceFile(ctx: Context, resourceId: Int): String
Reads the content of a resource file