Other [SOLVED] B4XPreferencesDialog - B4J version bug?

LucaMs

Expert
Licensed User
Longtime User
Error occurred on line: 89
java.lang.NullPointerException

The line is:
sb.Append($"Date and time: $DateTime{DateUtils.AddPeriod(birthday, time)}"$).Append(CRLF)

DateUtils is null. I added a reference to jDateUtils 1.05 but the exception is still raised.



[I would "like" to ask another question about B4APreferencesDialog but... I know, I should (must :D) open a new thread; also, I "need" to solve this bug, before]
 

LucaMs

Expert
Licensed User
Longtime User
B4XPreferencesDialog is not designed for custom types.

A boolean type exists.
You can use the numeric range type for the volume. I might add a seek bar type in the future.
I meant a single item with N views, as in the above example.
The "problem" is not if I can use a seek bar or have to use the current "style" for this, but add N views in a single item to my liking/need.

I know that it's impossible, because of how the project is designed (and it is difficult to achieve such a thing).


Don't waste any more time with my (stupid) chatter ;)


Thank you, Erel.
 
Upvote 0
Top