When changing from page to page in a site, it's possible to define the loading animation type but I'd want that the animation displays on the old page "blurred".
I've open a feedback case ago -case 75- (now I'm trying to learn ABMaterial again, hope I've time) and the answer was to use page.SetShowLoaderWithOpacity(doShow as Boolean, Opacity as Double).
When trying to apply this solution, the background page when animation is loading remains empty and the opacity only applies on the animation image.
Did I misunderstand the solution or maybe I'm not aplying correctly?
Thanks
I've open a feedback case ago -case 75- (now I'm trying to learn ABMaterial again, hope I've time) and the answer was to use page.SetShowLoaderWithOpacity(doShow as Boolean, Opacity as Double).
When trying to apply this solution, the background page when animation is loading remains empty and the opacity only applies on the animation image.
Did I misunderstand the solution or maybe I'm not aplying correctly?
Thanks
B4X:
public Sub BuildPage()
' initialize the theme
BuildTheme
' initialize this page using our theme
page.InitializeWithTheme(Name, "/ws/" & ABMShared.AppName & "/" & Name, False, ABMShared.SessionMaxInactiveIntervalSeconds, theme)
page.ShowLoader=True
page.SetShowLoaderWithOpacity (True,0.4)
page.ShowLoaderType=ABM.LOADER_TYPE_MANUAL ' NEW
page.SetLoaderDEVICESWITCH
End Sub