Package com.mikepenz.aboutlibraries.util

Types

Result
Link copied to clipboard
class Result(libraries: List<Library>, licenses: List<License>)

Functions

parseData
Link copied to clipboard
actual fun parseData(json: String): Result
expect fun parseData(json: String): Result
actual fun parseData(json: String): Result
withContext
Link copied to clipboard
fun Libs.Builder.withContext(ctx: Context): Libs.Builder

Auto discover the generated library definition data by the default name and location res/raw/aboutlibraries.json

withJson
Link copied to clipboard
fun Libs.Builder.withJson(byteArray: ByteArray): Libs.Builder

Attach the generated library definition data as ByteArray

fun Libs.Builder.withJson(ctx: Context, rawResId: Int): Libs.Builder

Attach the generated library definition data as resource file, with the given id.

fun Libs.Builder.withJson(byteArray: ByteArray): Libs.Builder

Attach the generated library definition data as ByteArray