vault
vault copied to clipboard
Can the parameters passed to @Space , like the list of content models and list of locale be provided at the run time
Android uses @Space annotation provided by Vault which is internally an interface, to define a persistent db which thereby stores the contents. It requires to specify the SpaceID, an array of Model Classes, and an array of locale codes to be persisted. This information must be provided at the compile time. Our problem statement is to provide this information of an array of Model Classes and an array of locale codes dynamically. Is there an implementation through which, this information defined in the @Space interface could be manipulated?