warwound Expert Licensed User Longtime User Oct 30, 2014 #21 @bluedude It's possible for you to use the default b4a Spinner and simple set a custom adapter. The custom adapter will replace the default b4a Spinner's default adapter and give you the results you want. I'll find some time later to take a look. Martin.
@bluedude It's possible for you to use the default b4a Spinner and simple set a custom adapter. The custom adapter will replace the default b4a Spinner's default adapter and give you the results you want. I'll find some time later to take a look. Martin.
B bluedude Well-Known Member Licensed User Longtime User Oct 31, 2014 #22 Hi, I think the custom adapter will overwite all stuff like colors etc. Tried a few things but did not work 100%.
Hi, I think the custom adapter will overwite all stuff like colors etc. Tried a few things but did not work 100%.
JordiCP Expert Licensed User Longtime User Apr 25, 2017 #23 (Bringing back to life this old thread, since my question is directly related to it) warwound said: Seems like an occasional NullPointerException is thrown if an Activity is paused while the Adapter is requesting a View from the b4a code. I'll hopefully fix that next week. Click to expand... I needed a customizable spinner and found this lifesaver. It is perfect for what I want and could customize the xml to fit my needs , but I am also having these NullPointerExceptions on Activity_Pause. Did you fix it? If so, is it available somewhere? Thanks in advance!
(Bringing back to life this old thread, since my question is directly related to it) warwound said: Seems like an occasional NullPointerException is thrown if an Activity is paused while the Adapter is requesting a View from the b4a code. I'll hopefully fix that next week. Click to expand... I needed a customizable spinner and found this lifesaver. It is perfect for what I want and could customize the xml to fit my needs , but I am also having these NullPointerExceptions on Activity_Pause. Did you fix it? If so, is it available somewhere? Thanks in advance!
warwound Expert Licensed User Longtime User Apr 28, 2017 #24 JordiCP said: Did you fix it? If so, is it available somewhere? Click to expand... I've now fixed the issue where a null pointer exception occurs - the updated library files are attached to this post.
JordiCP said: Did you fix it? If so, is it available somewhere? Click to expand... I've now fixed the issue where a null pointer exception occurs - the updated library files are attached to this post.