Android Question AXrLottie - CustomListview

Solution
[SOLVED] Thank You Erel And thinktank

B4X:
Dim Pnl As Panel = CustomListView1.GetPanel(Index)
Dim Size As Int = 100%x
Pnl.AddView(AXLottie,50%x-(Size/2),50%y-(Size/2),Size,Size)
    
Dim Drawable As AXrLottieDrawableBuilder
Drawable.InitializeFromFile(File.DirAssets,"jsonFile.json) _
    .SetSize(Size,Size) _
    .SetAutoRepeat(Drawable.AUTO_REPEAT_INFINITE) _
    .SetAutoStart(True) _
    .SetCacheEnabled(False)
AXLottie.SetLottieDrawable(Drawable.Build)
[SOLVED] Thank You Erel And thinktank

B4X:
Dim Pnl As Panel = CustomListView1.GetPanel(Index)
Dim Size As Int = 100%x
Pnl.AddView(AXLottie,50%x-(Size/2),50%y-(Size/2),Size,Size)
    
Dim Drawable As AXrLottieDrawableBuilder
Drawable.InitializeFromFile(File.DirAssets,"jsonFile.json) _
    .SetSize(Size,Size) _
    .SetAutoRepeat(Drawable.AUTO_REPEAT_INFINITE) _
    .SetAutoStart(True) _
    .SetCacheEnabled(False)
AXLottie.SetLottieDrawable(Drawable.Build)
 
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…