Hi,
I'm trying to use GifViewer as an object loaded inside many panels. But when recovering the reference, I'm getting the error:
chat.java:1409: error: incompatible types: View cannot be converted to gifviewer
_gifviewer1 = (com.comten.nexphone.gifviewer)(_pnlmessage.GetView((int) (4)).getObject());
Calling the reference of the GifViewer:
How can I add many gifviewers in panels and later get the references ? I already realized that gifviewer is not really a view as it's implemented, but if I need to show gifs on panels (like in a listview or in a ULV for example), I couldn't find any other technique...
Does anybody have any suggestion?
I'm trying to use GifViewer as an object loaded inside many panels. But when recovering the reference, I'm getting the error:
chat.java:1409: error: incompatible types: View cannot be converted to gifviewer
_gifviewer1 = (com.comten.nexphone.gifviewer)(_pnlmessage.GetView((int) (4)).getObject());
Calling the reference of the GifViewer:
B4X:
Dim GifViewer1 As GifViewer = PnlMessage.GetView(4)
How can I add many gifviewers in panels and later get the references ? I already realized that gifviewer is not really a view as it's implemented, but if I need to show gifs on panels (like in a listview or in a ULV for example), I couldn't find any other technique...
Does anybody have any suggestion?