Skip to content

Shared Resources #374

Open
Open

Description

@pleszkiewicz

< Main issue

Description

Create an entity (e.g. Resources) which manages instances of resources (audio, video, model, image).

  • It should allow loading given resource only once (initial load via path).
  • It should allow accessing given resource by index.
  • The resource's index can be used as an entry point in all components that use resources (e.g. button, model, audio). Check Lumin documentation for more details.
  • It should allow resetting given resource.

Based on Lumin Resource class, the native interface may look like this:

class Resource {
   Int getResourceId()
   bool isResourceValid()
   ResourceType getResourceType()
   String getFileName()
   String getBasePath()
   LoadStatus getLoadStatus()
}

Completion status

  • Android
  • iOS

Activity

  1. added
    Android
    iOS
    on Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions