Telerik Forums
UI for Xamarin Forum
1 answer
99 views
I have been unable to get the sample solution to build. I have a vanilla installation of VS2015 Update 2 that comes with Xamarin so I figured everything would just work. I am interested in using your ListView control in my Xamarin.Forms app but am unable to get a working build!
Pavel R. Pavlov
Telerik team
 answered on 25 May 2016
1 answer
115 views

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!

Rosy Topchiyska
Telerik team
 answered on 20 May 2016
4 answers
118 views

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

N Mackay
Top achievements
Rank 1
 answered on 19 May 2016
10 answers
480 views

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.

 

N Mackay
Top achievements
Rank 1
 answered on 19 May 2016
1 answer
94 views

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

Rosy Topchiyska
Telerik team
 answered on 12 May 2016
4 answers
101 views

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.

 

 

 

 

 

N Mackay
Top achievements
Rank 1
 answered on 05 May 2016
2 answers
151 views

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

Rosy Topchiyska
Telerik team
 answered on 04 May 2016
1 answer
93 views
When using SideDrawerController how can I get the current storyboard so that I can perform segue to other view controllers on side drawer item selection?
Adrian
Telerik team
 answered on 04 May 2016
1 answer
1.0K+ views
We are developing Xamarin Forms (Portable) project and want to use telerik components. We added necessary dll's and codes as described but when we try to build the MyProject.Droid project, we are facing with hundreds of CS0117 'Resource.*' does not contain a definition for '*' error when building errors. Our latest references are Xamarin forms 2.2.0.31 version, support library v8 23.2.1, android SDK api 23 (6.0) and Xamarin.android.support.* 23.3.0. Do you have any idea?
Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2016
1 answer
155 views

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

Todor
Telerik team
 answered on 27 Apr 2016
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?