Declined
Last Updated: 01 Dec 2023 20:59 by ADMIN

Hello,

I'd been testing the trial version of the Telerik chart control for Xamarin in an Android app. Because it was working well, I'd purchased a license yesterday. And, I replaced the NuGet trial package with the license package. So far, so good.

However, now, when I try to build the project, it fails. (I've tried building both the Release and Debug version.)

The errors I see are below:

Severity Code Description Project File Line Suppression State
Error failed linking references. Ble.Client.Android
Error resource style/MainTheme.Base (aka com.companyname.ble.client:style/MainTheme.Base) not found. Ble.Client.Android
ErrorNU1301       Failed to retrieve information about 'Xamarin.AndroidX.AppCompat' from remote source 'https://packagesource/FindPackagesById()?id='Xamarin.AndroidX.AppCompat'&semVerLevel=2.0.0'. Ble.Client.Android D:\2023_devwork\BLE_Xamarin\XamarinBleCodeBehind-main\XamarinBleCodeBehind-main\Ble.Client\Ble.Client.Android\Ble.Client.Android.csproj 1

Any thoughts as to what might have broken, and, what I need to do in order to resolve the issue? (In case it helps, I'm including a screen capture of the Visual Studio 2022 output window.)

Thanks!

--Donn Morse

               
Declined
Last Updated: 23 Sep 2022 05:48 by ADMIN
Created by: Vidhi
Comments: 1
Category: UI for Xamarin
Type: Bug Report
0
For SelectionMode = Miultiple, we need SelectedItems property to be bound to the VM collection to get the selection items, however, when i am using the control, I am not able to find SelectedItems property for RadComboBox. Am i missing something?
Declined
Last Updated: 29 Dec 2021 07:58 by ADMIN
Created by: Robert
Comments: 2
Category: UI for Xamarin
Type: Bug Report
0

Combobox, selection mode multiple.

Select the third item:

 

And you get this:

(also note the +1 circle going over the border)

 

However, set selected items programatically, and you get this:

There's plenty of space in the control.

Open the dropdown:

Still plenty of space, but... the button has disappeared.

Collapse it by clicking somewhere outside the control and you get back to the measurement bug:

Declined
Last Updated: 03 Nov 2021 18:10 by ADMIN
Created by: Simba
Comments: 1
Category: UI for Xamarin
Type: Bug Report
1

Please refer to this issue: https://feedback.telerik.com/xamarin/1509502-errors-with-latest-versions-of-androidx

Hello this problem seems to be still prevalent in "Release" mode when using the individual libraries as well, in my case I am referencing the lite libraries from telerik nuget (Telerik.UI.for.Xamarin.Input.Lite + Telerik.UI.for.Xamarin.DataControls.Lite 2021.3.915.1).

There are no error when the workaround for this is to set Linking to "None". Project is latest XF 5.0.0.2196 with all latest AndroidX libraries: Project targets Android 10 (Q) 

----------------------------------------------------------------------------------
Severity Code Description Project File Line Suppression State
Error Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA2006: Could not resolve reference to 'Telerik.XamarinForms.Common.GeometryTypeConverter' (defined in assembly 'Telerik.XamarinForms.Primitives, Version=2021.3.915.500, Culture=neutral, PublicKeyToken=null') with scope 'Telerik.XamarinForms.Common, Version=2021.3.915.500, Culture=neutral, PublicKeyToken=null'. When the scope is different from the defining assembly, it usually means that the type is forwarded. ---> Mono.Cecil.ResolutionException: Failed to resolve Telerik.XamarinForms.Common.GeometryTypeConverter
   at Mono.Linker.Steps.MarkStep.HandleUnresolvedType(TypeReference reference)
   at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
   at MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference)
   at Mono.Linker.Steps.MarkStep.MarkCustomAttributeArgument(CustomAttributeArgument argument)
   at Mono.Linker.Steps.MarkStep.MarkCustomAttributeArguments(CustomAttribute ca)
   at Mono.Linker.Steps.MarkStep.MarkCustomAttribute(CustomAttribute ca)
   at Mono.Linker.Steps.MarkStep.MarkCustomAttributes(ICustomAttributeProvider provider)
   at Mono.Linker.Steps.MarkStep.MarkEntireType(TypeDefinition type)
   at Mono.Linker.Steps.MarkStep.MarkEntireAssembly(AssemblyDefinition assembly)
   at Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly)
   at Mono.Linker.Steps.MarkStep.Initialize()
   at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
   at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
   at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
   at Mono.Linker.Pipeline.Process(LinkContext context)
   at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
   at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
   --- End of inner exception stack trace ---
   at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
   at Xamarin.Android.Tasks.LinkAssemblies.RunTask()
Declined
Last Updated: 08 Oct 2021 07:57 by ADMIN

I want to use a sticky header listview. 
I using the following code to render the sticky header list.

XML page code:

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage 
    xmlns="http://xamarin.com/schemas/2014/forms"
     xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
     x:Class="TEST.Views.AboutPage"
     xmlns:vm="clr-namespace:TEST.ViewModels"

     xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
     xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls"

     Title="{Binding Title}"
>

    <ContentPage.BindingContext>
        <vm:AboutViewModel />
    </ContentPage.BindingContext>

    <ContentPage.Resources>
        <ResourceDictionary>
            <Color x:Key="Accent">#96d1ff</Color>
        </ResourceDictionary>
        <DataTemplate x:Key="ListViewItemTemplate">
            <telerikListView:ListViewTemplateCell>
                <telerikListView:ListViewTemplateCell.View>
                    <Grid Padding="16, 0, 0, 0" BackgroundColor="#F1F2F5" HeightRequest="100">
                        <Label Text="{Binding Name}" TextColor="#6F6F70" FontSize="Small" />
                    </Grid>
                </telerikListView:ListViewTemplateCell.View>
            </telerikListView:ListViewTemplateCell>
        </DataTemplate>
        <DataTemplate x:Key="ListViewGroupHeaderTemplate">
            <Grid HeightRequest="40">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>                
                <Label Margin="0, 12, 0, 6" Text="{Binding }" Grid.Column="1" TextColor="DarkGray" FontSize="Medium" HorizontalOptions="Start" />
            </Grid>
        </DataTemplate>
        <telerikListView:ListViewGroupStyle x:Key="ListViewGroupHeaderStyle" BackgroundColor="White" />
    </ContentPage.Resources>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>       
            <telerikDataControls:RadListView
                x:Name="listView"
                ItemsSource="{Binding Cities}"
                ItemTemplate="{StaticResource ListViewItemTemplate}"
                GroupHeaderTemplate="{StaticResource ListViewGroupHeaderTemplate}"
                GroupHeaderStyle="{StaticResource ListViewGroupHeaderStyle}"
                IsGroupHeaderSticky="True"
                Grid.Row="0"
            >
                <telerikDataControls:RadListView.GroupDescriptors>
                    <telerikListView:PropertyGroupDescriptor PropertyName="Country"/>
                </telerikDataControls:RadListView.GroupDescriptors>

                <telerikDataControls:RadListView.LayoutDefinition>
                    <telerikListView:ListViewGridLayout HorizontalItemSpacing="5"
                                                        ItemLength="120"
                                                        SpanCount="2"
                                                        VerticalItemSpacing="5" />
                </telerikDataControls:RadListView.LayoutDefinition>
            </telerikDataControls:RadListView>
    </Grid>

</ContentPage>

 

 

ViewModels:

public class City
    {
        public string Name { get; set; }
        public string Country { get; set; }
    }

    public class ViewModel
    {
        public ObservableCollection<City> Cities { get; set; }

        public ViewModel()
        {
            this.Cities = new ObservableCollection<City>()
            {
                new City() { Name = "Barcelona", Country = "Spain"},
                new City() { Name = "Madrid", Country = "Spain"},
                new City() { Name = "Barcelona", Country = "Spain"},
                new City() { Name = "Madrid", Country = "Spain"},
                new City() { Name = "Rome", Country = "Italy"},
                new City() { Name = "Florence", Country = "Italy"},
                new City() { Name = "Florence", Country = "Italy"},
                new City() { Name = "London", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "Manchester", Country = "England"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "New York", Country = "USA"},
                new City() { Name = "Boston", Country = "USA"}
             };
        }
    }



I added screenshots here which until header "Italy" works correctly, but later  "Spain" & "USA" header are not sticking as we scroll up.             
Declined
Last Updated: 25 Aug 2021 06:53 by ADMIN
Created by: Mark
Comments: 4
Category: UI for Xamarin
Type: Feature Request
0
Would like an alternative date picker.  This would allow you to choose a date from a monthly calendar instead of scrolling month, date, or year.  It would be similar to the web version.
Declined
Last Updated: 07 Jun 2021 06:09 by Niko

Hi telerik team,

I know, my case is very specific, but I got this Bug and need to fix it somehow.

About: I have a RadSideDrawer in which I have a Collection View in which Header I have a Carousel View. When I rotate the phone in landscape mode the items are resized. After rotate back to portrait they are resized, but a lot of space appeare between them. So the layout is somekind wrong calculated. 
This only occure in this combination on iOS. If I remove the RadSideDrawer it works, if I remove the Collection View it also works, but both together not.

Reprosteps: Create a view with carousel embedded into the header of collection view embedded in to RadSideDrawer. (see attachment)
Rotate to landscape, rotate back to portrait mode.

System information:
iOS
xamarin: 5.0.0.2012
xamarin telerik ui: 2021.1.119.4

If you have a workarround for me, I will be very happy. Somehow to trigger a recalculation might help. I tryed set some InvalidateMeasure and ForceLayout but it didn't help. Either it don't work ot I apply it wrong. 
Any help is welcome!

Best regards,
Niko

Declined
Last Updated: 07 Apr 2021 13:18 by ADMIN

Hi,

I had developed an Xamarin application, in a modal I open a PdfViewer.

PdfViewerPage pdfViewer = new PdfViewerPage(item.IdAllegato, item.Path, item.FlagScaricabile);

Navigation.PushModalAsync(pdfViewer);

I assign a url to the PdfViewer source.

pdfViewer.Source = new Uri(uri);
Everything is fine in debug mode but when I publish the app on android the PdfViewer show "an error occurred while loading the document" with all pdf.
Declined
Last Updated: 02 Mar 2021 06:49 by ADMIN

When I update Telerik.UI.for.Xamarin to v2021.1.119.1, I got following error:

 

Unable to resolve dependency 'Telerik.UI.for.Xamarin.Documents.Spreadsheet.FormatProviders.Xls'. Source(s) used: 'nuget.org', 'Telerik', 'Microsoft Visual Studio Offline Packages'.

 

Could you help to take a look? Thanks

Declined
Last Updated: 25 Jan 2021 11:59 by ADMIN
Created by: Vardan
Comments: 4
Category: UI for Xamarin
Type: Bug Report
0

Hi folks.

 

I am using the rad list view with grouping in my application. There are some cases when the list has empty groups (That's ok because according to the application's logic I can move items between groups). The problem is that the empty group it's not actually "Empty". It has a blank item which is not desirable behavior for me. I have a list view "item tapped" event which navigates the user to the details screen and when I tap on the empty group's item the application throws an exception because the list item is blank. I have attached a sample app according to this example and GIF files showing the issue.

 

Steps To Reproduce

 

  1. Download the zip file
  2. Open The app
  3. Add necessary Telerik dlls (Can't send dlls with the sample because of size)
  4. Tap on empty item


    Versions

    1. Xamarin Forms 5.0.0.1874
    2. Telerik Controls 2020.3 (latest)
    3. IDE Visual studio 2019

     

    Declined
    Last Updated: 05 Dec 2020 20:13 by Mehdi
    Hi, I am getting NullReferenceException when trying to set AppointmentsSource for RadCalendar (version 2020.3.916.1) in my page, however, it is set and displayed successfully in the Android project.
    Declined
    Last Updated: 18 Nov 2020 17:34 by Chris

    Runtime exception: Java.Lang.RuntimeException: Font asset not found Fonts/telerikfont.ttf, when trying to access any page with controls that use telerikfont, like AutoCompleteView, TreeView, etc.

    Declined
    Last Updated: 05 Nov 2020 07:29 by ADMIN
    Created by: Stefan
    Comments: 2
    Category: UI for Xamarin
    Type: Bug Report
    1

    In Selection Changed method SelectedSeries is always empty.

    Is there other way to get which series is selected?

     

    Declined
    Last Updated: 07 Apr 2020 10:42 by ADMIN
    Allow mouse interactivity with any shape - polygons as well as primitives like ovoids & simpler polygons (triangles, squares, stars ...). 
    Declined
    Last Updated: 07 Apr 2020 07:58 by ADMIN
    Created by: Rajendra
    Comments: 6
    Category: UI for Xamarin
    Type: Bug Report
    2
    Hi Team,

    I implemented radcheckbox in my xamarin telerik application. In which i select checkbox and afterword i post some data through webAPI. After completion of posting data i got response from server and my app got crashed and show me following stack trace data,

      at Telerik.XamarinForms.PrimitivesRenderer.iOS.CheckBoxRenderer.OnElementDetached (Telerik.XamarinForms.Primitives.RadCheckBox oldElement) [0x00025] in <f3723b4c1d3f406496717d69142c8f84>:0 

      at Telerik.XamarinForms.Common.iOS.IosRendererBase`2[S,T].Dispose (System.Boolean disposing) [0x0001f] in <81c15264f2164ef79a02e84ed79e8bfd>:0 

      at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/Foundation/NSObject2.cs:147 

      at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose (System.Boolean disposing) [0x0003f] in <612eab01c6f546df983c0637f996b4cd>:0 

      at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose () [0x00000] in <612eab01c6f546df983c0637f996b4cd>:0 

      at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing) [0x00058] in <612eab01c6f546df983c0637f996b4cd>:0 

      at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/Foundation/NSObject2.cs:147 

      at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (Xamarin.Forms.VisualElement view) [0x0003e] in <612eab01c6f546df983c0637f996b4cd>:0 

      at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (System.Object sender, Xamarin.Forms.ElementEventArgs e) [0x0000f] in <612eab01c6f546df983c0637f996b4cd>:0 

      at Xamarin.Forms.Element.OnChildRemoved (Xamarin.Forms.Element child) [0x00007] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:343 

      at Xamarin.Forms.VisualElement.OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:750 

      at Xamarin.Forms.Layout`1[T].OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in <4542de7f0f544d51b46d63bd15d5f6b5>:0 

      at Xamarin.Forms.Layout.OnInternalRemoved (Xamarin.Forms.View view) [0x00012] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:464 

      at Xamarin.Forms.Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x0002b] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:427 

      at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)

      at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

      at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

      at System.Collections.ObjectModel.ObservableCollection`1[T].RemoveItem (System.Int32 index) [0x00021] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

      at System.Collections.ObjectModel.Collection`1[T].Remove (T item) [0x00027] in <939d99b14d934342858948926287beba>:0 

      at Xamarin.Forms.Layout.OnInternalAdded (Xamarin.Forms.View view) [0x0000b] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:451 

      at Xamarin.Forms.Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00078] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:443 

      at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)

      at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

      at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

     

    My xaml code,

    <telerikControls:RadCheckBox IsChecked="{Binding IsSelected, Mode=TwoWay}" HorizontalOptions="Center" VerticalOptions="Center" />

     

    My model class code,

    private bool _isSelected;
            public bool IsSelected
            {
                get { return _isSelected; }
                set
                {
                    _isSelected = value;
                }
            } 

    Version information,

    Xmarin form version : 4.1.0

    Telerik UI version : 2019.2.802.1

    iOS version 12.2

    Declined
    Last Updated: 27 Mar 2020 11:13 by ADMIN

    I have upgraded my Xamarin.Forms to version 4.5 and installed the dependent AndroidX nuget packages.  After upgrading UI for Xamarin to version 2020.1.318.1, I'm getting 3 errors below in my Xamarin Android project that seems to have to do with min SDK version when I try to build:

    java/lang/String;Ljava/util/List;)[B :  invalid opcode ba - invokedynamic requires --min-sdk-version >= 26 (currently 13) 

    com.android.dx.cf.code.SimException: ERROR in androidx.browser.customtabs.CustomTabsService$1.newSessionInternal:(Landroid/support/customtabs/ICustomTabsCallback;Landroid/app/PendingIntent;)Z: invalid opcode ba - invokedynamic requires --min-sdk-version >= 26 (currently 13)

    com.android.dx.cf.code.SimException: ERROR in androidx.browser.trusted.ConnectionHolder.getServiceWrapper:()Lcom/google/common/util/concurrent/ListenableFuture;: invalid opcode ba - invokedynamic requires --min-sdk-version >= 26 (currently 13) 


    I'm targeting Android 9 and set the minimum supported SDK to 26.  The error hasn't gone away.

    I upgraded to latest Telerik to address a reference issue with AndroidX.RecyclerView but it seems that these new errors are showing up now. 

    Is there something I can do to resolve the error or do I just have to wait for the next Telerik UI for Xamarin release?

     

    Declined
    Last Updated: 19 Mar 2020 10:15 by ADMIN
    Created by: Nadya
    Comments: 9
    Category: UI for Xamarin
    Type: Bug Report
    6

    If you have a project that has a dependency on: Xamarin.AndroidX.RecyclerView

    It will cause a Release build failure due to Telerik.XamarinForms.DataControls using the wrong type in the renderer (AndroidX's RecyclerView instead of v7.Widgets's RecyclerView).

    Here is the build error clarifying that it cannot find a `HasStableIds` property/method:

    Error Mono.Linker.MarkException: Error processing method: 'System.Void Telerik.XamarinForms.DataControlsRenderer.Android.ItemsControlRenderer::OnElementAttached(Telerik.XamarinForms.DataControls.ItemsControl)' in assembly: 'Telerik.XamarinForms.DataControls.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void AndroidX.RecyclerView.Widget.RecyclerView/Adapter::set_HasStableIds(System.Boolean)

    Reproduce

    You can use the attached project to reproduce the problem. Be sure to have the following settings:

    • Build in Release configuration
    • Set LinkerBehavior to SDK assemblies Only

    Workaround

    Uninstall Xamarin.AndroidX.RecyclerView

    Declined
    Last Updated: 20 Nov 2019 09:47 by ADMIN
    Created by: Sharon
    Comments: 1
    Category: UI for Xamarin
    Type: Feature Request
    0

    It would be great to have controls to enter an IP Address and a MAC address.

    IP Address in the form of: ###.###.###.### where the # ranges from 0 to 255 for each octet.

    MAC address in the form of: ##-##-##-##-##-## where the # ranges in hex from 00 to FF. 

    Declined
    Last Updated: 29 Oct 2019 20:17 by ADMIN
    Created by: Craig
    Comments: 1
    Category: UI for Xamarin
    Type: Feature Request
    0
    When working with dynamic data, the datagrid is rendered useless as there is no support for binding to a DataTable. 
    Declined
    Last Updated: 25 Oct 2019 08:34 by ADMIN
    Created by: yl
    Comments: 1
    Category: UI for Xamarin
    Type: Feature Request
    1

    The "Scrolled" event is such a essential feature.

    For example, i made a floating searchbar with transparent frame, and a RadListView with HeaderTemplate that is longer than a screen of the device, i would like to detect whether the listview has scrolled for more than 10px vertically. If yes, set the background of the frame of the searchbar to my desired color.Xamarin.Forms, collectionview, listview, and scrollview has Scrolled event, but why RadListView does not? Using ItemAppearing event is just avoiding the problem instead of solving it. It will not be able to fulfill the criteria as the any item does not even enter the screen yet before the required task need to be done.

    1 2 3