Oh yes it does! Lines 118 to 141 reference B4XBitmap and fail compilation without XUI Views selected in the Libraries tab.KeyValueStore doesn't depend on XUI Views.
#if not(B4J) OR UI
Public Sub PutBitmap(Key As String, Value As B4XBitmap)
Dim out As OutputStream
out.InitializeToBytesArray(0)
Value.WriteToStream(out, 100, "PNG")
Put(Key, out.ToBytesArray)
out.Close
End Sub
Public Sub GetBitmap(Key As String) As B4XBitmap
Dim b() As Byte = Get(Key)
If b = Null Then Return Null
Dim in As InputStream
in.InitializeFromBytesArray(b, 0, b.Length)
#if B4J
Dim bmp As Image
#else
Dim bmp As Bitmap
#End If
bmp.Initialize2(in)
in.Close
Return bmp
End Sub
#End If
XUI (~B4XView) is not less native than any other view. It is simply a more powerful (in most cases), consistent and cross platform API.I don't bother with the XUI stuff and just use native
This is a valid reason.it is another level to learn on top of a level that I am familiar with from past times