Android Question AXrLottie - CustomListview

sAL8Pz5.png

Is it possible to add a AXrLottie as an item to the 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
Top