HI,
When do you intend supporting Forms 2.3 or are you waiting for 2.3.1 to be released?
2.2 has Margin support for Entry missing which is fixed in 2.3.
Thanks.
After successfully integrating the Telerik UI for Xamarin Calendar component into my Xamarin App I am trying todo the same for my Android version. However after adding the 'Telerik.UI.for.Xamarin' nuget package I get a lot (2580) build errors all looking similar to this:
`Uurwerk.Droid.Resource.Animation' does not contain a definition for `design_bottom_sheet_slide_in' (CS0117)
I have closely followed the 'Getting started' guide provided by Telerik and made sure all versions of the dependencies are as specified in the 'Required Android Support Libraries' guide (see packages.config contents below).
The application builds (and runs) fine without the reference to 'Telerik.UI.for.Xamarin' (obviously without using the calendar control). What am I doing wrong? Help would be greatly appreciated.
Contents of "packages.config":
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"HockeySDK.Xamarin"
version
=
"4.1.0-beta3"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"MvvmCross"
version
=
"4.2.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"MvvmCross.Binding"
version
=
"4.2.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"MvvmCross.Core"
version
=
"4.2.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"MvvmCross.Platform"
version
=
"4.2.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Telerik.UI.for.Xamarin"
version
=
"2016.2.614.1"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Xamarin.Android.Support.Animated.Vector.Drawable"
version
=
"23.3.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Xamarin.Android.Support.v4"
version
=
"23.3.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Xamarin.Android.Support.v7.AppCompat"
version
=
"23.3.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Xamarin.Android.Support.v7.RecyclerView"
version
=
"23.3.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Xamarin.Android.Support.v8.RenderScript"
version
=
"23.3.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Xamarin.Android.Support.Vector.Drawable"
version
=
"23.3.0"
targetFramework
=
"MonoAndroid60"
/>
<
package
id
=
"Xamarin.Forms"
version
=
"2.2.0.31"
targetFramework
=
"MonoAndroid60"
/>
</
packages
>
Hi,
I downloaded the last version of the Telerik.Xamarin.iOS.dll and it gets me a lot of "Duplicate symbol error" (103 errors).
Example;
Native linking failed, duplicate symbol: '_llvm.cmdline'
Duplicate symbol in: ...../mtouch-cache/TelerikUI.a(TKChartAnnotation.o) (Location related to previous error)
Duplicate symbol in: ...../mtouch-cache/TelerikUI.a(TKChartMedianPriceIndicator.o) (Location related to previous error)
Before this library, I worked wothout problemes with an older version of the library (wich was several mb ligther).
I apreciate your help.
Thanks!
I have purchased UI for Xamarin.iOS and downloaded the latest commercial version 2016.2.513.
The following errors are displayed when opening the Telerik UI for Xamarin iOS 2016_2_513 Examples solution:
[Failure] Could not find file 'X:\Telerik_UI_for_Xamarin_iOS_2016_2_513_dev\Examples\Images.xcassets\Flags\ moldova-flag.imageset\MD-1.png'.
[Failure] Could not find file 'X:\Telerik_UI_for_Xamarin_iOS_2016_2_513_dev\Examples\Images.xcassets\Flags\ moldova-flag.imageset\Contents.json'.
[Failure] Could not find file 'X:\Telerik_UI_for_Xamarin_iOS_2016_2_513_dev\Examples\Images.xcassets\Flags\ moldova-flag.imageset\MD.png'.
See attached screenshot which shows that there are two folders named "moldova-flag.imageset". The first one is prefixed with a space. This folder is empty. The second folder contains the correct flag images.
The folder with the leading space is added by Visual Studio. It does not exist in the original zip file.
Where in the Examples solution can I change the reference to remove the leading space from the folder name?
I'm trying to create multiple charts inside a listview but the chart isn't showing up. I'm not sure why. The backing data is there. Here is the code I'm using:
<?xml version=
"1.0"
encoding=
"utf-8"
?>
<ContentPage xmlns=
"http://xamarin.com/schemas/2014/forms"
x:Class=
"Mobile.Views.WatchListPage"
xmlns:infrastructure=
"clr-namespace:Mobile.Infrastructure;assembly=Mobile"
xmlns:telerik=
"clr-namespace:Telerik.XamarinForms.Chart;assembly=Telerik.XamarinForms.Chart"
xmlns:viewModel=
"clr-namespace:Mobile.ViewModels;assembly=Mobile"
Title=
"DHT1"
>
<ContentPage.Resources>
<ResourceDictionary>
<Style x:Key=
"FriendlyNameStyle"
TargetType=
"Label"
>
<Setter Property=
"FontSize"
Value=
"16"
></Setter>
<Setter Property=
"FontFamily"
Value=
"Open Sans"
></Setter>
</Style>
<Style x:Key=
"ValueStyle"
TargetType=
"Label"
>
<Setter Property=
"FontSize"
Value=
"18"
></Setter>
<Setter Property=
"FontFamily"
Value=
"Open Sans"
></Setter>
<Setter Property=
"FontAttributes"
Value=
"Bold"
></Setter>
</Style>
<Style x:Key=
"MinorText"
TargetType=
"Label"
>
<Setter Property=
"FontSize"
Value=
"14"
></Setter>
<Setter Property=
"FontFamily"
Value=
"Open Sans"
></Setter>
<Setter Property=
"TextColor"
Value=
"Gray"
></Setter>
</Style>
</ResourceDictionary>
</ContentPage.Resources>
<ContentPage.Content>
<StackLayout Orientation=
"Vertical"
Padding=
"0"
Spacing=
"0"
>
<SearchBar x:Name=
"ParameterSearch"
Placeholder=
"Search parameters"
Text=
"{Binding ParameterSearchText}"
></SearchBar>
<infrastructure:CustomListView x:Name=
"ParameterLv"
SeparatorVisibility=
"Default"
RowHeight=
"50"
>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Orientation=
"Horizontal"
HorizontalOptions=
"FillAndExpand"
Spacing=
"0"
>
<ContentView Padding=
"5, 0, 5, 0"
>
<Image Source=
"{Binding StatusImg}"
></Image>
</ContentView>
<StackLayout Orientation=
"Vertical"
>
<Label Text=
"{Binding FriendlyName}"
Style=
"{StaticResource FriendlyNameStyle}"
></Label>
<Label Text=
"{Binding TagId}"
Style=
"{StaticResource MinorText}"
></Label>
</StackLayout>
<telerik:RadCartesianChart x:Name=
"ParameterChart"
HorizontalOptions=
"FillAndExpand"
>
<telerik:RadCartesianChart.BindingContext>
<viewModel:ParameterViewModel/>
</telerik:RadCartesianChart.BindingContext>
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:NumericalAxis/>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:NumericalAxis />
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Series>
<telerik:ScatterLineSeries ItemsSource=
"{Binding TrendTail}"
>
<telerik:ScatterLineSeries.XValueBinding>
<telerik:PropertyNameDataPointBinding PropertyName=
"Time"
/>
</telerik:ScatterLineSeries.XValueBinding>
<telerik:ScatterLineSeries.YValueBinding>
<telerik:PropertyNameDataPointBinding PropertyName=
"Value"
/>
</telerik:ScatterLineSeries.YValueBinding>
</telerik:ScatterLineSeries>
</telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
<StackLayout Orientation=
"Vertical"
Padding=
"0, 0, 5, 0"
>
<Label Text=
"{Binding Value}"
Style=
"{StaticResource ValueStyle}"
></Label>
<Label Text=
"{Binding Unit}"
Style=
"{StaticResource MinorText}"
HorizontalTextAlignment=
"Center"
VerticalTextAlignment=
"Start"
></Label>
</StackLayout>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</infrastructure:CustomListView>
</StackLayout>
</ContentPage.Content>
</ContentPage>
namespace
Mobile.ViewModels
{
using
ReactiveUI;
public
class
ParameterViewModel : ReactiveObject
{
private
string
_friendlyName;
public
string
FriendlyName
{
get
{
return
_friendlyName; }
set
{
this
.RaiseAndSetIfChanged(
ref
_friendlyName, value); }
}
private
string
_tagId;
public
string
TagId
{
get
{
return
_tagId; }
set
{
this
.RaiseAndSetIfChanged(
ref
_tagId, value); }
}
private
string
_statusImg;
public
string
StatusImg
{
get
{
return
_statusImg; }
set
{
this
.RaiseAndSetIfChanged(
ref
_statusImg, value); }
}
private
string
_value;
public
string
Value
{
get
{
return
_value; }
set
{
this
.RaiseAndSetIfChanged(
ref
_value, value); }
}
private
string
_unit;
public
string
Unit
{
get
{
return
_unit; }
set
{
this
.RaiseAndSetIfChanged(
ref
_unit, value); }
}
private
TrendData[] _trendTail;
public
TrendData[] TrendTail
{
get
{
return
_trendTail; }
set
{
this
.RaiseAndSetIfChanged(
ref
_trendTail, value); }
}
private
decimal
_reference;
public
decimal
Reference
{
get
{
return
_reference; }
set
{
this
.RaiseAndSetIfChanged(
ref
_reference, value); }
}
}
public
class
TrendData : ReactiveObject
{
private
decimal
_value;
public
decimal
Value
{
get
{
return
_value; }
set
{
this
.RaiseAndSetIfChanged(
ref
_value, value); }
}
private
decimal
_time;
public
decimal
Time
{
get
{
return
_time; }
set
{
this
.RaiseAndSetIfChanged(
ref
_time, value); }
}
}
}
Does anyone know what I'm doing wrong? Or have any questions about my implementation?
I'm trying to get the calendar to display within a ContentPage using code behind. I'm not using XAML. The display is completely blank. What am I missing?
public class CalendarPage : ContentPage
{
public CalendarPage ()
{
Content = new RadCalendar()
{
HorizontalOptions = LayoutOptions.FillAndExpand,
VerticalOptions = LayoutOptions.FillAndExpand,
DisplayDate = DateTime.Today,
BackgroundColor = Color.Navy,
GridLinesColor = Color.White,
};
}
}
Thanks,
Blair
I have a CarouselPage with three ContentPage.
In each ContentPage I have a RadPieChart. I have a refresh button on the toolbar that read the data and refresh all the pie charts.
If I press the refresh button on the first or on the second ContentPage all is ok.
If I press the refresh button on the third page I have this error:
Object reference not set to an instance of an object
Can you help me???
The call stack is:
at Telerik.XamarinForms.ChartRenderer.Android.PieChartRenderer.SeriesInternal_CollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00028] in <filename unknown>:0
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) [0x00012] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:288
at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (NotifyCollectionChangedAction action, System.Object item, Int32 index) [0x00000] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:351
at System.Collections.ObjectModel.ObservableCollection`1[T].InsertItem (Int32 index, System.Collections.ObjectModel.T item) [0x00024] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:219
at Telerik.XamarinForms.Chart.ElementsCollection`1[T].InsertItem (Int32 index, Telerik.XamarinForms.Chart.T item) [0x0001b] in <filename unknown>:0
at System.Collections.ObjectModel.Collection`1[T].Add (System.Collections.ObjectModel.T item) [0x00023] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/collections/objectmodel/collection.cs:67
at MobileCRM.Shared.DashboardView+<>c__DisplayClass2_0.<.ctor>b__1 (System.Collections.Generic.List`1 datiAttivita) [0x00360] in D:\Prj3rd\OndaCRMApp\Client\MobileCRM.Shared\Pages\Home\DashboardView.xaml.cs:212
at Xamarin.Forms.MessagingCenter+<>c__DisplayClass4_0`1[TSender].<Subscribe>b__0 (System.Object sender, System.Object args) [0x00027] in C:\BuildAgent3\work\aad494dc9bc9783\Xamarin.Forms.Core\MessagingCenter.cs:54
at Xamarin.Forms.MessagingCenter.InnerSend (System.String message, System.Type senderType, System.Type argType, System.Object sender, System.Object args) [0x00069] in C:\BuildAgent3\work\aad494dc9bc9783\Xamarin.Forms.Core\MessagingCenter.cs:95
at Xamarin.Forms.MessagingCenter.Send[TSender] (Xamarin.Forms.TSender sender, System.String message) [0x00013] in C:\BuildAgent3\work\aad494dc9bc9783\Xamarin.Forms.Core\MessagingCenter.cs:23
at MobileCRM.Shared.DashboardViewModel+<ExecuteLoadSeedDataCommand>d__6.MoveNext () [0x00a03] in D:\Prj3rd\OndaCRMApp\Client\MobileCRM.Shared\ViewModels\Home\DashboardViewModel.cs:128
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
at MobileCRM.Shared.DashboardViewModel+<<get_LoadSeedDataCommand>b__5_0>d.MoveNext () [0x0001f] in D:\Prj3rd\OndaCRMApp\Client\MobileCRM.Shared\ViewModels\Home\DashboardViewModel.cs:45
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018
at Android.App.SyncContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/3340/4e275588/source/monodroid/src/Mono.Android/src/Android.App/SyncContext.cs:18
at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/3340/4e275588/source/monodroid/src/Mono.Android/src/Java.Lang/Thread.cs:36
at Java.Lang.IRunnableInvoker.n_Run (IntPtr jnienv, IntPtr native__this) [0x00009] in /Users/builder/data/lanes/3340/4e275588/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Java.Lang.IRunnable.cs:81
at (wrapper dynamic-method) System.Object:10380bda-a7f1-45e5-8e3f-7465ce556290 (intptr,intptr)
Hi,
I have 2 questions about TKListView :
1 - Is it possible to keep both behaviours LongPress and Press on a listView cell ?
I want a "normal" action on Press and a "Special' action on the long press (which will be described in point 2)
2 - So the action i want on long press is displaying a custom context menu (UIMenuController) with my own set of actions.
Can TKListView answer YES and if so, HOW to my questions ?
Regards,
I use Xamarin Studio on Mac with a Xamarin Indi license. I tried to download the Telerik UI for Xamarin and got a MSI file which is meant for Windows. Is there a way, I can install the Telerik UI for Xamarin Plugin on Mac?
Thanks
-Surya