I am using the OverlayWindow from this lib:
And I am trying to add the SimpleExoPlayerView to the overlay panel by trying to load in a layout that just contains the SimpleExoPlayerView:
But it crashes when I try to load the layout:
Any ideas how to fix?
ProBundle
ProBundle contains all the following libraries: - ArchiverPlusZip v1.13 Based on the Zip4j library, this library allows to add, extract, update and remove files from a zip archive. It supports encryption and decryption (standard and AES), Zip64 format and split zip archives. It is compatible...
www.b4x.com
And I am trying to add the SimpleExoPlayerView to the overlay panel by trying to load in a layout that just contains the SimpleExoPlayerView:
B4X:
'Creates the overlay window
MaxWidth = GetDeviceLayoutValues.Width
MaxHeight = GetDeviceLayoutValues.Height
OW.Initialize2(10dip, 10dip, MaxWidth / 2, MaxHeight /2, "Pnl")
OW.Panel.LoadLayout("justexo")
But it crashes when I try to load the layout:
B4X:
java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'int anywheresoftware.b4a.BALayout.getWidth()' on a null object reference
Any ideas how to fix?
Last edited: