Telerik Forums
UI for Xamarin Forum
4 answers
769 views

Hello guys,

I am looking for the List View having long press functionality. Actually I am showing the data in List View. As soon as I long press any item, each item get check box in front it. So is it possible to do such type of functionality in xamarin forms. Please help.

 

Thank you.

Sheng Kuo
Top achievements
Rank 1
 answered on 23 May 2017
1 answer
55 views

As mentioned above.

RadListView has IsItemsReorderEnabled attribute, it enable user to reorder items by drag and drop, but there is no handler can be found after item ordered,

so I can't update anything or even to catch any event after an item is being moved. 

Help please.

Lance | Senior Manager Technical Support
Telerik team
 answered on 23 May 2017
8 answers
397 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 23 May 2017
1 answer
209 views

Hello guys,

    Is there any telerik date picker for xamarin forms. If yes then please share ant example having date picker in xaml.

 

Thank you.

Lance | Senior Manager Technical Support
Telerik team
 answered on 22 May 2017
1 answer
79 views

Hi,

I found some of the label options helpful but was wondering if it was possible to rotate the category label a specific amount. 

We might have super long names for the labels and allowing default labelfit="rotate" was nice but led to overlap.

Something like this: http://prntscr.com/f9u15x

Thanks,

Brent

Lance | Senior Manager Technical Support
Telerik team
 answered on 22 May 2017
2 answers
685 views

 

On Android, I'm having a problem.  I can click and drag to reorder rows but the SelectionChanged event appears to not get invoked.
I have this in my MainActivity.cs as specified on the Getting Started page:

[assembly: ExportRenderer (typeof (Telerik.XamarinForms.DataControls.RadListView), typeof (Telerik.XamarinForms.DataControlsRenderer.Android.ListViewRenderer))]

 

I assign a method  to the SelectionChanged event like this:

_listV.SelectionChanged += ItemSelectionChanged;

Where ItemSelectionChanged is the method I want to call when the event fires.

The method signature is like this:

private void ItemSelectionChanged (object sender, NotifyCollectionChangedEventArgs e)

I only have this problem on Android.  iOS works fine. I'm using Xamarin Forms and Telerik.UI for Xamarin version 2017.1.10321.10
Am I missing something?

Greg
Top achievements
Rank 1
 answered on 22 May 2017
3 answers
142 views

HI,

Looking at the XAML samples it would suggest any content below the BusyIndicator has to be within the RadBusyIndicator.Content container? is that the only way it works?

I would have thought it would work like the standard one and you could just place it using an AbsoluteLayout over the Listview etc.

Could someone clarify as it would involve reworking a lot of layouts if that's that case and I'd probably just stick with the vanilla one.

Thanks.

N Mackay
Top achievements
Rank 1
 answered on 22 May 2017
2 answers
51 views

Hi,

I use the Calendar and ListView components in my project.

When I update Telerik Xamarin from version 2017 R1 to 2017 R2, I am forced to add extra dlls for the Android project, iOS and PCL projects so they build.

The DLLs I need to add are:

  • SkiaSharp.dll
  • Telerik.XamarinForms.Primitives.dll
  • Telerik.XamarinForms.SkiaSharp.dll

I do not have to add them in the 2017 R1 version of Telerik, and I would avoid doing it because its actually greatly enlarging the size of the distribution package.

Is this a bug ? Or are DLLs now prerequisites for any component Telerik ?

Thank you !

Best Regards

Julien.

Lance | Senior Manager Technical Support
Telerik team
 answered on 19 May 2017
1 answer
1.4K+ views

I'm having problems changing the spacing in my items in my Listview.  I have a cell with two rows of data.  I cant seem to minimize the spacing the between the top and bottom rows. My itemTemplate definition is pasted below.  I've added color to the backgrounds to visualize the issue.  Simply put, there is too much space between the bisque and green stacklayouts.  

Disclaimer:  I've added more stacklayouts than I normally do with a Listview and understand that this is not great code.  I put a wrapper around the rows so I could visualize them with a background color.  

 

<dataControls:RadListView.ItemTemplate>
                   <DataTemplate>
                      <listView:ListViewTemplateCell>
                          <listView:ListViewTemplateCell.View>
                              <StackLayout BackgroundColor="Gray" Padding="0,0,0,0" >
                                  <StackLayout Orientation="Horizontal" BackgroundColor="Bisque" Padding="0,0,0,0" VerticalOptions="StartAndExpand">
                                      <Label  Text="{Binding Val.DisplayName}" HorizontalOptions="StartAndExpand"  Margin="20,0,0,0" />
                                      <Label  Text="{Binding Val.PhoneNumber}" HorizontalOptions="EndAndExpand"  Margin="0,0,13,0" BackgroundColor="Aqua"/>
                                  </StackLayout>
                                  <StackLayout BackgroundColor="Green" HorizontalOptions="StartAndExpand" Padding="0,0,0,0" VerticalOptions="StartAndExpand">
                                      <Label Text="{Binding Val.Title}" VerticalOptions="StartAndExpand" Margin="20,0,13,0" BackgroundColor="Red"/>
                                      </StackLayout>
                              </StackLayout>
                                   
                          </listView:ListViewTemplateCell.View>
                      </listView:ListViewTemplateCell>
                  </DataTemplate>                     
              </dataControls:RadListView.ItemTemplate>
lyndon
Top achievements
Rank 1
 answered on 19 May 2017
2 answers
130 views
I have successfully combined a set of 4 bar series, in a cartesian chart, with a custom palette, and then clustered the results.  chart1 is the result.  The custom palette actually has 12 defined colors, but since the there are only 4 bar series, then the chart doesn't leverage the other colors.  The second attempt was to create a set of bar series for each of the 12 data points.  chart2 is the result.  The result leverages the custom palette across all of the data points, but the cluster seems to have some troubles.  Is there a way to have the bar use all space, or expand the bar size so that it looks like chart1? 
Ves
Telerik team
 answered on 19 May 2017
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?