[codenameone-discussions] Re: Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?

2019-01-24 Thread Gareth Murfin
thanks it works but then theyre turned off for good, ie user can close side menu but then cant play video. Is there any event I can use to detect when the side menu is closed? (since user can tap outside of it to shut it, I cant detect re-tapping the hamburger menu) On Thursday, January 24,

[codenameone-discussions] Re: possible to implement a slider like this ?

2019-01-24 Thread Shai Almog
Two samples: https://www.codenameone.com/javadoc/com/codename1/ui/Slider.html https://www.codenameone.com/blog/rating-widget.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Re: Can cancel/retry dialog functionality be turned off from the RequestBuilder?

2019-01-24 Thread Shai Almog
You can grab all network errors by consuming the error event from the network manager. You can also use this https://www.codenameone.com/blog/rest-api-error-handling.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: Table getSelectedRow returns -1 if Table is not in focus

2019-01-24 Thread Shai Almog
That's intentional as selection in this case essentially means focus traversal. You can keep your own selection value which maps to your needs. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-24 Thread Shai Almog
It's because you invoke setModel() which causes the table to effectively rebuild from scratch. You should instead update the cell/row not rebuild the entire table. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Optimizing GUI for iOS 10

2019-01-24 Thread Shai Almog
Hi, this depends on the layout. If the component above it is in border layout and this is the south. Maybe changing it to north will solve this but I'm guessing as I don't know the hierarchy of your layout. -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: Need Help using firebase on codenameone

2019-01-24 Thread Shai Almog
Hi, you also need to define the build hint gcm.sender_id=GCM_SENDER_ID Yes, register or error callbacks should be made on the device once you invoke register. Make sure to log the error details if you get the error callback. -- You received this message because you are subscribed to the

[codenameone-discussions] Re: possible to implement a slider like this ?

2019-01-24 Thread Gareth Murfin
I have messed with Slider and SliderFull, but neither of them change the appearance of the slider at *all*. Also the gui editor wont even let me make SliderFull. I need to set slider progress colour, and thickness, where in these udids can I do that specifically... and how do I define

[codenameone-discussions] Can cancel/retry dialog functionality be turned off from the RequestBuilder?

2019-01-24 Thread remonkroep
The RequestBuilder produces a cancel/retry dialog in case the getAsJsonMap() call encounters an error response. Can this be turned off? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Can cancel/retry dialog functionality be turned on from the RequestBuilder

2019-01-24 Thread remonkroep
The RequestBuilder produces a cancel/retry dialog in case the getAsJsonMap() call encounters an error response. Can this be turned off? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Table getSelectedRow returns -1 if Table is not in focus

2019-01-24 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 8.2 Desktop OS Windows 10 Pro Simulator Latest Device PC, Android, IOS I have a com.codename1.ui.table.Table and a separate Button container with Add Row. I ask the user

[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-24 Thread shop . service . assistant
Sorry, An Oversight from a cut and paste. hi.setScrollableY(false); With only Table table.setScrollableY(true); being scrollable, swipe down to the bottom and tap the Row 2 or 3 or 4 cells and you will see the table scrolls to the top every time. Regards. On Wednesday, January 23, 2019 at

[codenameone-discussions] Re: Optimizing GUI for iOS 10

2019-01-24 Thread nikola . balasev
Hi, Those two buttons on the bottom are just regular buttons inside a container. Is there any way for them to be always forced on top? As for the status bar, it seems that during development, someone changed the color of it, so it was showing wrong color. I'll test that on the device, and

[codenameone-discussions] Need Help using firebase on codenameone

2019-01-24 Thread tobias.semmet via CodenameOne Discussions
Hi, i want to use firebase to send messages for my webserver to the app. First I create a project for my application on firebase. got the key and the google-service.json. I add the json to native/android on the application project. Now i need to register the client... I implement the