Hi guys... I am having this error randomly in iOS 10+
'System.ObjectDisposedException: Cannot access a disposed object.' Xamarin Exception Stack: Object name: 'TKExtendedChart'. at Foundation.NSObject.get_SuperHandle () <0x101117dd0 + 0x000b0> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at TelerikUI.TKChart.get_WeakDataSource () <0x101819340 + 0x00057> in <ec9f5a4c45f14a83908825860183b239#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at TelerikUI.TKChart.get_DataSource () <0x101818520 + 0x0001f> in <ec9f5a4c45f14a83908825860183b239#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.ChartSeriesAdapter`2[S,T].UpdateItemsSource (S sourceOwner, T targetOwner, TelerikUI.TKChart targetChart) <0x1016edca0 + 0x00033> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.ChartSeriesAdapter`2[S,T].UpdateSeriesProperties (System.String propertyName, S sourceOwner, T targetOwner, Telerik.XamarinForms.Chart.RadChartBase sourceChart, TelerikUI.TKChart targetChart) <0x1016ed930 + 0x00193> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.CategoricalSeriesAdapter`1[TSeries].UpdateSeriesProperties (System.String propertyName, TSeries sourceOwner, TelerikUI.TKChartSeries targetOwner, Telerik.XamarinForms.Chart.RadChartBase sourceChart, TelerikUI.TKChart targetChart) <0x1016ed010 + 0x00043> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.CategoricalStrokedSeriesAdapter`1[TSeries].UpdateSeriesProperties (System.String propertyName, TSeries sourceOwner, TelerikUI.TKChartSeries targetOwner, Telerik.XamarinForms.Chart.RadChartBase sourceChart, TelerikUI.TKChart targetChart) <0x1016ecad0 + 0x00047> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.ChartSeriesAdapter`2[S,T].UpdateCore (S sourceOwner, T targetOwner, System.String propertyName, Telerik.XamarinForms.Common.IParentElement sourceOwnerRoot, System.Object targetOwnerRoot) <0x1016ed640 + 0x000db> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.Chart.ChartElementFacadeAdapter`2[S,T].Update (System.Object sourceOwner, System.Object targetOwner, System.String propertyName, System.Object sourceOwnerRoot, System.Object targetOwnerRoot) <0x1016dc410 + 0x0013b> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.Common.XamarinToNativeControlExtensions.Update[T,K] (T nativeElement, K xfЕlement, System.String propertyName, System.Object sourceOwnerRoot, System.Object targetOwnerRoot) <0x101725c50 + 0x000cb> in <8692e5a072af4ceea95672092fbac1f7#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.Chart.ChartElement.OnPropertyChanged (System.String propertyName) <0x1016dc2b0 + 0x0006b> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.BindableObject+SetValueFlags attributes, System.Boolean silent) <0x100ed2d20 + 0x00247> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.BindableObject+SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) <0x100ed1c30 + 0x00503> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindingExpression.ApplyCore (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property, System.Boolean fromTarget) <0x100ed8960 + 0x005bf> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindingExpression.Apply (System.Boolean fromTarget) <0x100ed85f0 + 0x0008f> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindingExpression+BindingExpressionPart.<PropertyChanged>b__47_0 () <0x100edb3a0 + 0x00023> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Foundation.NSAsyncActionDispatcher.Apply () <0x1011139f0 + 0x00023> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) <0x10112faa0 + 0x0002b> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) <0x10112f9e0 + 0x000ab> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at ADF.iOS.Application.Main (System.String[] args) <0x10039e840 + 0x00023> in <e05c11a796ba45e79ced5211e8e3b0dd#ebe182ffb1c5f4cedda65a7e367c6d1e>:0
Am I misusing the RadListView?
Starting from a telerix xamarin ui project, default options, .net 4.6.1
upgrade to latest stable (though I think it fatals the same way without that)
xamarin.android.support.* are v27.0.2.1
xamarin.forms v3.1.0.637273
Plug in the replacement MainPage.xaml and MagePage.xaml.cs linked here on pastebin .
MainPage.xaml = https://pastebin.com/SrrV7Dab
MainPage.xaml.cs = https://pastebin.com/AuPdajQw
run it.. . click the "Fill Lists" button. which will fill the listview with 20 strings.
And updates the statusLabel string.
so long as there are enough elements in the listView to extend off the screen (might take a few more clicks on windows for example).. it will then fatal.
If I use ListView instead of RadListView, it no longer fatals on either platform.
On Android, it also needs me to update the statusLabel text property before it fatals for some reason.
Java.Lang.IllegalArgumentException: <Timeout exceeded getting exception details>
07-17 17:22:44.298 E/AndroidRuntime( 7915): FATAL EXCEPTION: main
07-17 17:22:44.298 E/AndroidRuntime( 7915): Process: TelerikXamarinApp1.Android, PID: 7915
07-17 17:22:44.298 E/AndroidRuntime( 7915): java.lang.IllegalArgumentException: Tmp detached view should be removed from RecyclerView before it can be recycled: ViewHolder{fae82c5 position=12 id=-1955347204, oldPos=-1, pLpos:-1 tmpDetached no parent}
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.support.v7.widget.RecyclerView$Recycler.recycleViewHolderInternal(RecyclerView.java:5748)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.support.v7.widget.RecyclerView.removeAnimatingView(RecyclerView.java:1305)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.support.v7.widget.RecyclerView$ItemAnimatorRestoreListener.onAnimationFinished(RecyclerView.java:11775)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.support.v7.widget.RecyclerView$ItemAnimator.dispatchAnimationFinished(RecyclerView.java:12275)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.support.v7.widget.SimpleItemAnimator.dispatchAddFinished(SimpleItemAnimator.java:289)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.support.v7.widget.DefaultItemAnimator$5.onAnimationEnd(DefaultItemAnimator.java:242)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.support.v4.view.ViewPropertyAnimatorCompatJB$1.onAnimationEnd(ViewPropertyAnimatorCompatJB.java:51)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1121)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1149)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1309)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.animation.AnimationHandler.-wrap2(AnimationHandler.java)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:925)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.view.Choreographer.doCallbacks(Choreographer.java:702)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.view.Choreographer.doFrame(Choreographer.java:635)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:913)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.os.Handler.handleCallback(Handler.java:751)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.os.Handler.dispatchMessage(Handler.java:95)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.os.Looper.loop(Looper.java:154)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at android.app.ActivityThread.main(ActivityThread.java:6682)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at java.lang.reflect.Method.invoke(Native Method)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
07-17 17:22:44.298 E/AndroidRuntime( 7915): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
BackgroundImage = ImageSource.FromFile(image.Path);
or
BackgroundImage = ImageSource.FromUri(new Uri (uri));
it doesn't work.
On iOS, the icons for the DataGrid column popup modal are missing (they show as a question mark). They show up fine on Android. See attached image.
In this case, I've disabled filtering, so the popups only show the "Group" and "More" (column chooser) buttons. The buttons work, but the icons are missing.
OS: iOS 12.0, various devices.
Xamarin.Forms: 3.2.0.839982
Telerik.UI.for.Xamarin: 2018.3.912.1 (also affects 2018.3.1018.1)
XAML:
<tdg:RadDataGrid x:Name="eventsGrid" IsVisible="{Binding ShowEventsData}"
ItemsSource="{Binding Events}"
HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
StyleClass="TelerikTheme"
AlternateRowBackgroundStyle="{StaticResource DefaultDataGridAlternatingRowStyle}"
GroupHeaderStyle="{StaticResource DefaultDataGridGroupHeaderStyle}"
AutoGenerateColumns="False"
SelectionMode="None"
UserEditMode="None">
<tdg:RadDataGrid.Columns>
<tdg:DataGridTextColumn PropertyName="Op"
HeaderText="Op"
CanUserFilter="False"
HeaderStyle="{StaticResource DefaultDataGridColumnHeaderStyle}"
CellContentStyle="{StaticResource DefaultDataGridTextCellStyle}" />
<tdg:DataGridTextColumn PropertyName="EventDescription"
HeaderText="Event Description"
CanUserFilter="False"
HeaderStyle="{StaticResource DefaultDataGridColumnHeaderStyle}"
CellContentStyle="{StaticResource DefaultDataGridTextCellStyle}" />
<tdg:DataGridDateColumn PropertyName="EventStart"
HeaderText="Start"
CanUserFilter="False"
IsVisible="False"
CellContentFormat="{}{0:MM/dd/yy hh:mm:ss tt}"
HeaderStyle="{StaticResource DefaultDataGridColumnHeaderStyle}"
CellContentStyle="{StaticResource DefaultDataGridTextCellStyle}" />
<tdg:DataGridDateColumn PropertyName="EventEnd"
HeaderText="End"
CanUserFilter="False"
IsVisible="False"
CellContentFormat="{}{0:MM/dd/yy hh:mm:ss tt}"
HeaderStyle="{StaticResource DefaultDataGridColumnHeaderStyle}"
CellContentStyle="{StaticResource DefaultDataGridTextCellStyle}" />
<tdg:DataGridNumericalColumn PropertyName="Minutes"
HeaderText="Minutes"
CanUserFilter="False"
CellContentFormat="{}{0,0:F2}"
HeaderStyle="{StaticResource DefaultDataGridColumnHeaderStyle}"
CellContentStyle="{StaticResource DefaultDataGridTextCellStyle}" />
</tdg:RadDataGrid.Columns>
</tdg:RadDataGrid>
Hello,
I started testing the ConversationalUI today and I couldn't find on documentation if it is possible to display author name and hide the avatar.
Is it possible to do it?
If not, is it possible to use a custom layout?
Thanks
I have a BarSeries in a RadCartesianChart that renders its labels incorrectly on UWP. Labels are more or less fine on Android and iOS (iOS I need to do other platform specific adjustments to, but that's unrelated to this issue).
On UWP the value labels on the BarSeries are rendered to the left of the bar instead of on top of the bar. See attached picture. Note how the value label on the first bar is cut off and cannot be seen because it extends to the left of the screen.
I would hope that a Xamarin.Forms component would support all forms of data binding that Xamarin.Forms itself supports. I do not think that is the case. Most mature data binding systems, like Xamarin.Forms, support binding to items within a Dictionary. So if I have a Dictionary<string,double> called Data within my row datamodel, I should be able to create a column with a property name of "Data[Oil]" which should grab the double out of the Data Dictionary with key of "Oil". I do not think this is supported as I get blank cells when I try it.
Does this actually work and I am missing something?
When the AppendMode will be available?
Do you have a "more or less" precise date?
Hey guys,
We are currently
automating our Xamarin Forms App with Appium. Xamarin Forms allows us to use Automation ID’s to find elements
in our test-cases.
For the Telerik
Calendar there is just the possibility to set an automation ID on the calendar
itself, but not on the DayCells.
To test our app, we need
to set the automation ID for the DayCells to identify the dates in the
calendar. At the moment, the ID for every cells seems to be the day of the
month. So it can happen that Id’s are available twice in the MonthView. So we can’t
use the current approach for our case.
Is there a way to set
the automation ID of the DayCells to something like: “Day.Month.Year”?
Best regards
Julian
Hi,
How do i pre-select/check one more more items when first time loading the treeview?
Thanks,
Alan