the following exceptions occur when upgrading to Xamarin.Forms v 4.0:
System.NotSupportedException: Unable to activate instance of type Telerik.XamarinForms.DataControlsRenderer.Android.ListView.TemplateCellContainer
System.NullReferenceException: Object reference not set to an instance of an object
at Telerik.XamarinForms.InputRenderer.iOS.SegmentedControlRenderer.OnElementDetached
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.
There seems to be 2 issues with Telerik ui for xamarin and Xamarin.AndroidX.Core versions 1.3.2.2 and newer where A) Linker seems to be failing when set to "Sdk Assemblies Only" on Visual Studio 16.9.0.
The other issue is with Telerik RadListView and same AndroidX.Core at runtime I am getting the following exception:
System.TypeLoadException: 'VTable setup of type Telerik.XamarinForms.DataControlsRenderer.Android.ListViewAccessibilityDelegateCompat failed'
Please advise
Hi there,
We're struggeling with the radentry control. For login purposes we use one for the password and one for the email. When we set IsPassword=true this does show dots instead of words, but some basic stuff isn't working.
1) The normal entry with IsPassword=true does also hide the suggestion tab that is above the keyboard. We also tried hiding this with other settings but to no result. This control should also hide suggestions since it is a password and we don't want to cache this in any way.
2) When we replace the radentry password field with a xamarin entry password field (so set IsPassword=true on both) then we also get the password fill option. In this case Samsung keypass. I imagine if people are using autofillers such as samsung, google, or something else, that this should also work since i'm stating the field is a password field.
Tested on android with multiple devices.
Thanks in advance!
Martijn
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)
You can use the attached project to reproduce the problem. Be sure to have the following settings:
Uninstall Xamarin.AndroidX.RecyclerView
When the SelectionMode of the RadCalendar is Range and you have set a MaxDate - you should not be able to select dates after the MaxDate. However, swipe-selecting cells which are disabled is working. Available in the R3 2018 SP release.
When there are only two items in the ItemsSource and users reorder them, the underlying collection is not reordered Edit: Avalable in R3 2017 SP release.
This can be reproduced using an image with binding for its source.
If the source data has only zero values initially, when the values are changed, the chart does not update its axis range. Available in minor release 2017.3.927. It will also be available in the R3 2017 SP release.
if you look at the .nuspec file for the Telerik.UI.for.Xamarin.Documents.Flow package there is an entry in the
<framework> assemblies element;
<frameworkAssembly assemblyName=”WindowsBase” targetFramework=””/ >
This is what causes NuGet to drag the WindowsBase assembly in.
we cannot build the iOS project - we get the following error.
The type 'NotifyCollectionChangedAction' exists in both 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' and 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
We are not referencing the WindowsBase assembly directly, but on analyzing the Nuget dependencies we found the following dependency chain;
Telerik.UI.for.Xamarin (2020.3.1106.1) -> Telerik.UI.for.Xamarin.Documents.Flow (2020.3.1019) -> WindowsBase (Framework Assembly)
it seems that WindowsBase (and PresentationCore which is also included) are not intended for Xamarin iOS or Android applications.
Multiple selected items that were selected become unselected when being filtered out. Steps to reproduce: 1 - Select multiple items 2 - Apply filter where some or all of the selected items are filtered out 3 - Remove filter Observe: 1 - The items that were previously selected have lost their selection state after returning 2 - Items that were not filtered, or selected while filter was active, retain selection state
Available in the R3 2017 release.
LongPress is called on element that is already disposed.
ObjectDisposedException is thrown:
at Telerik.XamarinForms.Common.NativeGestureRecognizer.ToDip
at Telerik.XamarinForms.Common.GestureListener.OnLongPress
Stack-Trace
Xamarin Exception Stack: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Xamarin.Forms.Platform.Android.Platform+DefaultRenderer'. at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in <2e109281f9514c53b44688fd4549adb2>:0 at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeNonvirtualObjectMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00000] in <2e109281f9514c53b44688fd4549adb2>:0 at Android.Views.View.get_Context () [0x0000a] in <9d68875f5dbd432db5314e1c0d96cb02>:0 at Telerik.XamarinForms.Common.NativeGestureRecognizer.ToDip (System.Single px) [0x00000] in <9f139977bc32402dabe4bb05ac247bb2>:0 at Telerik.XamarinForms.Common.GestureListener.OnLongPress (Android.Views.MotionEvent e) [0x0000c] in <9f139977bc32402dabe4bb05ac247bb2>:0 at Android.Views.GestureDetector+IOnGestureListenerInvoker.n_OnLongPress_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_e) [0x0000f] in <9d68875f5dbd432db5314e1c0d96cb02>:0 at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.102(intptr,intptr,intptr)
The issue occurs on the following device:
Android: 12When using the __ItemStyle properties of RadListView, they are not being applied if the SelectionMode is set to None. It makes sense that the PressedItemStyle and SelectedItemStyle properties are not used, since they are not applicable if nothing can be selected. However, the ReorderItemStyle in particular should still be used.
Example:
public class ItemStyleNotAppliedExample : ContentPage
{
private readonly ListViewItemStyle WhiteBG = new ListViewItemStyle
{
BackgroundColor = Color.White
};
private readonly ListViewItemStyle YellowBG = new ListViewItemStyle
{
BackgroundColor = Color.Yellow
};
private readonly ListViewItemStyle RedBG = new ListViewItemStyle
{
BackgroundColor = Color.Red
};
private readonly ListViewItemStyle BlueBG = new ListViewItemStyle
{
BackgroundColor = Color.Blue
};
public ItemStyleNotAppliedExample()
{
BackgroundColor = Color.Gray;
var items = new ObservableCollection<Item>
{
new Item("Item 1"),
new Item("Item 2"),
new Item("Item 3"),
new Item("Item 4"),
new Item("Item 5"),
};
Content = new RadListView
{
SelectionMode = SelectionMode.None,
IsItemsReorderEnabled = true,
ItemsSource = items,
ItemTemplate = new DataTemplate(typeof(ItemView)),
ItemStyle = WhiteBG,
PressedItemStyle = YellowBG,
SelectedItemStyle = RedBG,
ReorderItemStyle = BlueBG,
};
}
private class Item
{
public string Name { get; }
public Item(string name)
{
Name = name;
}
}
private class ItemView : ListViewTemplateCell
{
public ItemView()
{
var checkbox = new CheckBox
{
VerticalOptions = LayoutOptions.Center
};
var label = new Label
{
VerticalOptions = LayoutOptions.Center
};
label.SetBinding(Label.TextProperty, nameof(Item.Name));
View = new StackLayout
{
BackgroundColor = Color.Transparent,
Orientation = StackOrientation.Horizontal,
Children =
{
checkbox,
label
}
};
}
}
}
Unable to deploy Xamarin app with Telerik Document Processing dlls when AOT is true in Release configuration.
An error with text like is displayed in Visual Studio:
XABLD7028: System.IO.FileNotFoundException: Could not find file '...\....Droid\obj\Release\120\aot\armeabi-v7a\libaot-Telerik.Documents.Fixed.dll.so'
I met an issue related to Xamarin.Forms RadListView (telerik component) which occurs only on iOS platform, while working fine on Android. More details here - http://www.telerik.com/forums/radlistview-not-fitting-on-ios