Beagle v1.6 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
The ImagePath allows you to define how the image will be loaded, which can be locally or remotely.
It will reference a image that is on locais.JSONKotlin DSL assets. Your structure is represented by the attributes below:
|webUrl||String||Absolute or relative image path to be downloaded.|
|mobileId||String||Image’s identifier that was previously registered on mobile platforms.|
It will refer an image that it is already in the local assets.
Image( ImagePath.Local.both( "public/web-illustration.png", "mobileIllustration" ) )
It will reference an image that its hosted on another host or it’s related to its own server.JSONKotlin DSL. Your structure is represented by the attributes below:
|remoteUrl||String||✓||Absolute or relative image path to be downloaded.|
|placeholder||ImagePath.Local||It’s possible to pass a local asset on the app that will be shown meanwhile the remote URL is loaded.|
It will refer to an image that is hosted in another host or a relative one in the own server.
Image( ImagePath.Remote("https://mcdn.wallpapersafari.com/medium/8/37/zlwnoM.jpg") )
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.