Telerik Forums
UI for Xamarin Forum
1 answer
387 views

Hello,

I looked https://www.telerik.com/support/whats-new/xamarin-ui/release-history,

latest version  ---> UI for Xamarin R2 2019 (version 2019.2.708.360)

But on visual studio nuget manager shows latest stable (version  2019.1.318.1)

How can i fix this?

Thanks

Lance | Senior Manager Technical Support
Telerik team
 answered on 11 Jul 2019
10 answers
808 views

I'm facing another issue with RadListView and expander, if my rows are of uneven height, then upon scrolling it resizes each cell randomly. It might be due to the Recycle Cashing Strategy. The cells are being reused and they reuse the cell created for previously visible rows and takes their size regardless of the actual content of the cell. It is similar to the issue we face in Xamarin.iOS while using "CellForReuse".

For example, if my first cell has 10 lines of data, and there are 5 cells visible on screen at a time, then scrolling to the next set of cells will result in reuse of previous cells and 6th cell will take same height as first cell even though there is only single line data in it. 

 

Please suggest how to overcome this bug, as the list row height should be consistent according to the content in each cell.

 

Thanks & Regards,

Nidhi Sood

Yana
Telerik team
 answered on 11 Jul 2019
1 answer
355 views

I have a sample Xamarin Forms app (source located on GitHub here) where I need the dialog that pops when you click the button to center itself on the screen.  Instead it is centering in its parent.

I read you can center a Popup by attaching it to the page level.  And that works fine.  But the BindingContext for the popup can't be set in this way.

Our app uses a ContentPage that is comprised of a bunch of ContentViews.  And the ContentViews are the things that define the various popup dialogs (not the ContentPage).  Furthermore, the BindingContext is set at the ContentView level.  You can see an example of this in the code example I provided in the repo.

The repo defines a MainPage.xaml which hosts a ParentView which hosts a PopupView.  It should be easy to follow the structure.

How can this sample be changed to show the dialog in the center of the screen?

Yana
Telerik team
 answered on 10 Jul 2019
1 answer
91 views
How can an application be notified when a dialog is closed?  Is there something built into the dialog API that will notify when it's closing?
Yana
Telerik team
 answered on 10 Jul 2019
1 answer
194 views

How do I get rid of the vertical dots in the header cell (see attached image).

Here is my XAML for the grid...

 

<telerikGrid:RadDataGrid ItemsSource="{Binding Tags}"                                                  UserFilterMode="Disabled"                                                  UserGroupMode="Disabled"                                                  UserEditMode="None"                                                  UserSortMode="None"                                                  AutoGenerateColumns="False">                             <telerikGrid:RadDataGrid.Columns>                                 <telerikGrid:DataGridTextColumn HeaderText="Tag"                                                                  PropertyName="DisplayValue"                                                                 CanUserFilter="False" />                             </telerikGrid:RadDataGrid.Columns>

Lance | Senior Manager Technical Support
Telerik team
 answered on 09 Jul 2019
1 answer
408 views

Can someone post a code example that shows a DataGrid with the first column being a RadioButton control, and clicking the radio button on a row...

a) invokes a Command that the radio button was clicked

b) all other row's radio buttons become unchecked (so only one row's radio button is checked at any given time)

Lance | Senior Manager Technical Support
Telerik team
 answered on 09 Jul 2019
3 answers
365 views

I am using FreshMVVM and am having trouble getting a simple popup example to work.  

For my View I have...

<?xml version="1.0" encoding="utf-8" ?>     <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"                  xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"                  xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"                  xmlns:local="clr-namespace:SampleApp"                  x:Class="SampleApp.MainPage"
        <StackLayout>             <telerikPrimitives:RadPopup.Popup>                 <telerikPrimitives:RadPopup IsOpen="{Binding Dialog1Open}">                     <Label Text="Dialog 1" />                 </telerikPrimitives:RadPopup>             </telerikPrimitives:RadPopup.Popup
            <telerikPrimitives:RadPopup.Popup>                 <telerikPrimitives:RadPopup IsOpen="{Binding Dialog2Open}">                     <Label Text="Dialog 2" />                 </telerikPrimitives:RadPopup>             </telerikPrimitives:RadPopup.Popup
            <Button Text="Open Dialog 1" Command="{Binding OpenDialog1}" />             <Button Text="Open Dialog 2" Command="{Binding OpenDialog2}" /> 
        </StackLayout
    </ContentPage>

and the ViewModel I have...

public class MainPageModel : FreshBasePageModel {
    public bool Dialog1Open { get; set; }
    public bool Dialog2Open { get; set; }
  
    public ICommand OpenDialog1
    {
        get         {
            return new Command(() => { Dialog1Open = true; });
        }
    }
  
    public ICommand OpenDialog2
    {
        get         {
            return new Command(() => { Dialog2Open = true; });
        }
    }
}

How would this code be changed to make my example work?

The complete source for my example can be found at...

https://github.com/JohnLivermore/SampleXamarinApp/tree/telerikpopupexample

Yana
Telerik team
 answered on 09 Jul 2019
1 answer
84 views
Which NuGet package do I install if I just want the Popup functionality?  Is it Telerik.UI.for.Xamarin.Common?
Yana
Telerik team
 answered on 09 Jul 2019
1 answer
167 views
Hello everyone,
I'm currently in the design stages of a new app for iOS and Android. I currently have a predecessor version of this new app for iOS on market, but am looking to revamp it.
I've been looking at Xamarin, because it does offer cross-platform coding. But I'm more confused about how it works.
From what I've gathered - I create a core business logic project in Xamarin, which I then compile into a seperate library, imported into Android Studio and Xcode projects. From there, I use the native development tools to tie the UI interface into the business logic layer, and viola - app is finished.
Granted, this is a very basic way of describing of how things are done - but is it accurate? I wager that all of the models I create in the core business project - to ship between the presentation controllers and logic layer - will be easily accessible and can be directly referenced in the UI project as well?
Lance | Senior Manager Technical Support
Telerik team
 answered on 08 Jul 2019
1 answer
103 views

I wasn't able to find in the docs if Xamarin Forms 4.x was yet supported. Is there a place we can go to find out the latest Forms version Telerik supports?

 

ian

 

Yana
Telerik team
 answered on 08 Jul 2019
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?