-
public class RiveFileSource.RawRes.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static RiveFileSource.RawRes.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final RiveFileSource.RawResfrom(@RawRes() Integer resId)Convenience function for Compose contexts to create a RawRes instance. -
-
Method Detail
-
from
@Composable() final RiveFileSource.RawRes from(@RawRes() Integer resId)
Convenience function for Compose contexts to create a RawRes instance.
Uses the current Compose LocalContext to obtain Resources, avoiding the need to pass it manually.
- Parameters:
resId- The resource ID of the raw Rive file.
-
-
-
-