I love your design for the playlist you show on the following side:
http://docs.telerik.com/devtools/xamarin/controls/listview/listview-overview
Is there any way we could get an example code of how you designed it? I need something similar and would like to see, how you did it in detail.
Thanks in advance!
wht latest version of Xamarin.Forms v2.2.0.31 we receive issue of no recource found.
One of this are:Error retrieving parent for item: No resource found that matches the given name:android:design_texinput_error_color
Have any solution to this issue?
Thanks
Hi,
Any chance you'd consider makign teh grid more MVVM friendly.
In ever page I have to do something like this in the code behind, I'm designing a page just now with multiple tabs and 3 Listviews (at least) so you can imagine code behind mess! I don't mind code behind for features like grouping/filters etc.
private
void
ListviewOrder_OnItemTapped(
object
sender, ItemTapEventArgs e)
{
((OrderViewModel)BindingContext).SelectCommand.Execute(e.Item
as
OrderItem);
}
It would be nice if you could attach a tap gesture to the itemtemplate with the ability to execute a command. I was told RadListView doesn't play nice with Xamarin Forms Behaviours so I stopped using that but every time I see code like this it feels like the MVVM pattern isn't been applied correctly. I know the Listview doesn't do this either but it works okay with Xamarin Forms Behaviours pluggin, at the very least it would be nice if you could make the list compatible with that pluggin.
Also swipe to execute command would be really cool too.I got it working on Android but in iOS it never registered the swipe as been complete so I give up on that.
Curious to know the team's thoughts.
Thanks,
Norman.
I want to add two buttons in the Swipe content and i am using the
Productlist.ItemSwipeContentTemplate = new DataTemplate(typeof(Itemcell));
where itemcell is inherited from ItemswipeTemplateCell but it is giving me exception
let me know where i am doing mistake
At Evolve it was announced that Xamarin were going to support theming for Xamarin forms, there is an active discussion here.
https://forums.xamarin.com/discussion/65476/new-xamarin-forms-features-announced-at-evolve/p1
https://developer.xamarin.com/guides/xamarin-forms/themes/
I did ask the question about custom controls and this was the response:
"The ability to theme third party controls comes from 1 of 2 mechanisms. First if the third party control is composed of smaller base controls and uses Control or Item templating it will just work automatically. If however if is not, the vendor would need to release its own theming for the control at this time."
With that in mind, do Telerik intend to support this feature which we intend to use in the future, I know it's early days but I thought I'd highlight this new features in Forms.
Also, will the Telerik controls work with the designer preview announced at Evolve?again early days and I think it's only in the Alpha channel for Xamarin Studio but Visual Studio support is coming.
Hi all,
It's a popular topic how in Xamarin Forms we need to avoid listview in a scroll view. It's often required to stack something above a listview and scroll all together. Xamarin's solution for this is to come up with the Header and Footer template so that you don't have to place your ListView within a scrollview.
I don't think there's HeaderTeamplate in Telerik Xamarin Forms Listview nor I couldn't figure out a workaround.
If it's not available in the XF layer, then I wouldn't mind doing a custom renderer to insert a header view within the Telerik ListView.
Anyone could guide me how I could achieve this?
Thanks heaps!
Regards,
John Choi
Greetings,
I am trying to create a custom editor for one of my properties. The code I use is this:
[Android.Runtime.Register("my/name/space/ReaderEditor")]
public class ReaderEditor : Com.Telerik.Widget.Dataform.Visualization.Core.EntityPropertyEditor
{
public ReaderEditor(RadDataForm form, IEntityProperty property) : base(form,
form.EditorsMainLayout,
form.EditorsHeaderLayout,
Resource.Id.data_form_text_viewer_header1,
Resource.Layout.DataFormTextViewerLayout,
Resource.Id.data_form_text_viewer,
form.EditorsValidationLayout,
property)
{
}
public ReaderEditor(RadDataForm dataForm, int layoutId, int headerLayoutId,
int headerViewId, int editorLayoutId, int editorViewId,
int validationLayoutId, IEntityProperty property) :
base(dataForm, layoutId, headerLayoutId, headerViewId, editorLayoutId,
editorViewId, validationLayoutId, property)
{
}
public override Java.Lang.Object Value()
{
return ((EditText)EditorView).Text;
}
protected override void ApplyEntityValueToEditor(Java.Lang.Object entityValue)
{
((EditText)EditorView).Text = entityValue.ToString();
}
}
It's pretty basic actually, I just wanted to create a simple one in order to build on that afterwards. However when I run it I get the following exception:
Java.Lang.Error: The data form editor for property MYPROPERTY must have a constructor that accepts a Context and an EntityProperty.
How can I implement this editor?
Thank you for your time,
Vaggelis