Skip to content

//deferred-resources/com.backbase.deferredresources/DeferredPlurals/Resource

Resource

[androidJvm] class Resource(@PluralsRes()resId: Int, type: DeferredPlurals.Resource.Type) : ParcelableDeferredPlurals

A wrapper for a PluralsRes.

Constructors

Resource [androidJvm] fun Resource(@PluralsRes()resId: Int, type: DeferredPlurals.Resource.Type = Type.STRING)

Types

Name Summary
Type [androidJvm]
Content
enum Type : Enum<DeferredPlurals.Resource.Type>
More info
The type of text resource to resolve.


Functions

Name Summary
describeContents [androidJvm]
Content
abstract fun describeContents(): Int


resolve [androidJvm]
Content
open override fun resolve(context: Context, quantity: Int): CharSequence
More info
Resolve resId to text with the given context.


writeToParcel [androidJvm]
Content
abstract fun writeToParcel(p0: Parcel, p1: Int)