FlexGrid issues running on Android 7 Devices

Posted by: m-christoforou on 8 August 2017, 11:05 am EST

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]I have noticed that applications that are deployed to the latest Android 7 O/S have issues with at least the Xuni FlexGrid control.

    The Grid’s column headers disappear when the grid is scrolled or tapped.

    I noticed that this occurs even with the FlexGrid 101 sample too.

    On Androids 6 or earlier I do not get this problem.

    Marinos.

    [/xuni_archive]

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]Hi Marinos

    Thanks for reporting the bug. I’ll see if we can get a patch for Xuni to fix this.

    One side note though, you may want to give the new C1 Xamarin Edition beta a try as it shouldn’t have this issue and adds a number of new features:

    http://www.goxuni.com/678340-introducing-the-componentone-xamarin-edition-beta/

    There are some differences in namespaces and API (though mostly minor) so I will warn that it does require a few minor changes to code.

    I’ll let you know though once I talk with the developers about hotfixing this in the main Xuni release.[/xuni_archive]

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]Hi Marinos

    We’ve fixed this issue in the new Xamarin Edition beta. Though it’s a beta, I think you’ll find that it performs better, has a better API, and some nice new features.

    http://www.goxuni.com/677435-whats-coming-to-xuni-in-2017/

    We should have a migration guide in the not too distant future, though you’re welcome to try it and ask any questions if you run into problems. Probably the biggest change though will be the changing the namespace from Xuni.Forms.FlexGrid → C1.Xamarin.Forms.Grid.

    Thanks[/xuni_archive]

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]By the way,

    I just edit my post to correct a type and now I cannot see it in the forum thread?

    What is going on?

    Marinos.[/xuni_archive]

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]Here is a re-post of the edited version I cannot see:

    Hi Kelley,

    Yesterday I finally found some time to try out new Xamarin Edition beta. Here is my feedback.

    Firstly the documentation is misleading. To quote:

    Additionally, FlexChart, FlexPie, and ChartCore have all been consolidated into one single package instead of three different packages. To use FlexChart or FlexPie, you now need to add a single package developed for the platform of your choice: C1.Android.Chart C1.iOS.Chart C1.Xamarin.Forms.Chart

    In fact this control is not available in the beta.

    In my actual App, I use the FlexGrid, FlexChart, Calendar and Input controls. So I replaced all but the FlexChart with the beta nuget versions of the controls.

    Apart from the changes to namespaces and names there is another breaking change which I couldn’t find mentioned in the documentation.

    In the formatting of the FlexGrid, there appears to be a change where the “CreateCell” Method has been replaced by a “PrepareCell” method.

    I don’t now whether it is because I have a mix of Older Xuni controls and the newer beta controls but now any page that has either the new beta versions of the controls or the xuni FlexChart crashes giving the very unhelpful message of “An unhandled exception occured.” I have no other clue what the issue may be.

    Any Ideas here?

    Please note those pages that have only Xamarin controls work fine.

    For your reference I am using Xamarin Cross Platform PCL project in Visual Studio 2015. Xamarin Version 4.4.0.34 and Xamarin Forms Version 2.3.3.193.

    Hope this is useful,

    Marinos.[/xuni_archive]

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]Hi Marinos

    Thanks for the feedback. FlexChart, FlexPie, and Input are forthcoming over the Summer, but they aren’t included yet as you know (they’re still being tested internally before roll out). I’ll see if we can change that mention.

    I’m not sure about the errors you’re seeing from the mixed Xuni and C1 Xamarin Edition. I haven’t run into it yet, but I’ll see if I can reproduce it. Is it restricted to running on a specific platform or does it occur across all of them?

    Also, I think there will be a minor update to the old Xuni controls that fixes the Android 7 issue forthcoming shortly so I’ll let you know when it’s posted.[/xuni_archive]

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]Hi Kelley,

    I am currently targeting Android.

    I haven’t tried it yet on IOS.

    I will experiment a bit more with the beta see if I can fix the issues.

    Does the licensing of applications stay the same with the new ComponentOne Xamarin controls?

    Marinos.

    [/xuni_archive]

  • Posted 8 August 2017, 11:05 am EST

    [xuni_archive]Hi Marinos

    If you have a current Xuni Enterprise or Xamarin license you should be able to use it with the Xamarin.Forms controls. You need to set the controls to use the key by setting:

    C1.Xamarin.Forms.Core.LicenseManager.Key = License.Key;
    [/xuni_archive]

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels