get

open fun <T> get(resourceId: Int): T(source)

Gets the Object mapped from the specified id, or null if no such data exists.

Parameters

resourceId

Id of the resource you want to remove. It is suggested to use R.id.* to preserve cross functionality and avoid conflicts.