on 04-22-2016 1:49 PM
Konstantin,
Hi. Just curious, your button in Android shows the Compare Values? What is different with your settings with Compare Values versus Scan RFID? Did you try Label instead of Format if that works?
Best Regards,
SAP Mobile Support Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since you are using an OpenUI control for that field, your custom code is responsible for drawing the button control and any label it should have. You need to adjust your code to display the label as desired.
If you remove the class reference, I would expect the button to be displayed as expected as a native Agentry button field (of course without your code behind it).
--Bill
Could you give a reference to the help where it is described how extend ButtonDisplayAdapter class and what methods should be overridden.
I found the short description of ButtonDisplayAdapter class on SAP Help
Agentry OpenUI API for Android - Developer - SAP Library
But it is too briefly described.
I would recommend looking at the sample controls that are provided with the SDK. There you will have working examples of most if not all of the extension class types.
In terms of your issue with the label display, there isn't an override method that you need to include. Your Open UI code has responsibility for rendering what ever you want in that control space. Just because you are extending from a ButtonDisplayAdapter doesn't mean your code can only draw a button. You can draw whatever you want. The class you are extending from simply defines the interface between Agentry and your Open UI code and what properties were set / available from Agentry.
--Bill
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.