We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Problems with SfKanban

Hello, 



I am getting errors when the view containing the component loads, here is the view, please note I am setting the bindingContext programatically, and the instance of the ViewModel of the example you publish is exactly the same, but it is a property of the ContentPage, the others elements in the XAML view are accusing the context ok, and also, I does´nt get error regarding binding context property with the component, here is the XAML, and following the errors, then the .cs code of the view.


——XAML—


<?xml version="1.0" encoding="UTF-8"?>

<ContentPage     xmlns="http://xamarin.com/schemas/2014/forms" 

                xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"

                xmlns:kanban="clr-namespace:Syncfusion.SfKanban.XForms;assembly=Syncfusion.SfKanban.XForms"

                x:Class="Artair.ViewShow"

                Title="Show">

    <ContentPage.Content>

        <StackLayout VerticalOptions="StartAndExpand">

            <Label Text="Name" />

            <Entry x:Name="nameEntry" Text="{Binding Path=showItemContext.name}" Placeholder="Show name" />



            

            <Button Text="Save" Clicked="OnSaveActivated" />

            <Button Text="Delete" Clicked="OnDeleteActivated" />

            <Button Text="Cancel" Clicked="OnCancelActivated" />


            <kanban:SfKanban

                    ItemsSource="{Binding songListContext.Cards}"

                    x:Name="kanban" 

                    AutoGenerateColumns="False">


        


                <kanban:SfKanban.Columns>

                    <kanban:KanbanColumn x:Name="songsColumn" Title="Songs"  >

                    </kanban:KanbanColumn>

                </kanban:SfKanban.Columns>

            </kanban:SfKanban>

            

        </StackLayout>



        

    </ContentPage.Content>

</ContentPage>



-------ERRORS---------


[Mono] Assembly Ref addref Artair[0xb89433f0] -> Syncfusion.SfKanban.XForms[0xb893cee0]: 3

[Mono] Assembly Loader probing location: '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.ObjectModel.dll'.

[Mono] AOT module '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.ObjectModel.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.ObjectModel.dll.so" not found

[Mono] AOT module '/Users/builder/data/lanes/3511/501e63ce/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.ObjectModel.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.ObjectModel.dll.so" not found

[Mono] Assembly Ref addref Artair[0xb89433f0] -> System.ObjectModel[0xb8a02050]: 4

[Mono] Assembly Loader probing location: '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.ObjectModel.dll'.

[Mono] AOT module '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.ObjectModel.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.ObjectModel.dll.so" not found

[Mono] AOT module '/Users/builder/data/lanes/3511/501e63ce/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.ObjectModel.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.ObjectModel.dll.so" not found

[Mono] Assembly Ref addref Syncfusion.SfKanban.XForms[0xb893cee0] -> System.ObjectModel[0xb8a02050]: 5

[Mono] Assembly Loader probing location: '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Collections.dll'.

[Mono] AOT module '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Collections.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Collections.dll.so" not found

[Mono] AOT module '/Users/builder/data/lanes/3511/501e63ce/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Collections.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Collections.dll.so" not found

[Mono] Assembly Ref addref Syncfusion.SfKanban.XForms[0xb893cee0] -> System.Collections[0xb8976410]: 10

[Mono] Assembly Ref addref Syncfusion.SfKanban.XForms.Android[0xb8986c90] -> System[0xb8a71e18]: 16

[Mono] Assembly Ref addref Syncfusion.SfKanban.Android[0xb893dff0] -> Xamarin.Android.Support.v7.RecyclerView[0xb89b1fa0]: 2

[Mono] Assembly Ref addref Xamarin.Android.Support.v7.RecyclerView[0xb89b1fa0] -> Xamarin.Android.Support.v4[0xb89bccd8]: 4

[Mono] Assembly Ref addref Syncfusion.SfKanban.Android[0xb893dff0] -> System[0xb8a71e18]: 17

[Mono] Assembly Loader probing location: '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Threading.dll'.

SetValue: Can not convert 0 to type 'System.Int32'

SetValue: Can not convert 0 to type 'System.Int32'

SetValue: Can not convert 0 to type 'System.Int32'

[Mono] AOT module '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Threading.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Threading.dll.so" not found

[Mono] AOT module '/Users/builder/data/lanes/3511/501e63ce/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Threading.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Threading.dll.so" not found

[Mono] Assembly Ref addref Syncfusion.SfKanban.XForms[0xb893cee0] -> System.Threading[0xb8978710]: 5

[ResourceType] For resource 0x01030206, entry index(518) is beyond type entryCount(1)

[ResourceType] For resource 0x01040098, entry index(152) is beyond type entryCount(1)

[ResourceType] For resource 0x01030206, entry index(518) is beyond type entryCount(1)

[ResourceType] For resource 0x010302aa, entry index(682) is beyond type entryCount(1)

[ResourceType] For resource 0x01030269, entry index(617) is beyond type entryCount(1)

[ResourceType] For resource 0x01030023, entry index(35) is beyond type entryCount(1)

[ResourceType] For resource 0x010301fc, entry index(508) is beyond type entryCount(1)

[ResourceType] For resource 0x010301fc, entry index(508) is beyond type entryCount(1)

[ResourceType] For resource 0x010301fb, entry index(507) is beyond type entryCount(1)

[ResourceType] For resource 0x01040098, entry index(152) is beyond type entryCount(1)

[ResourceType] For resource 0x010301fc, entry index(508) is beyond type entryCount(1)

[ResourceType] For resource 0x01030299, entry index(665) is beyond type entryCount(1)

[ResourceType] For resource 0x01030258, entry index(600) is beyond type entryCount(1)

[ResourceType] For resource 0x0104009a, entry index(154) is beyond type entryCount(1)

[ResourceType] For resource 0x0104009a, entry index(154) is beyond type entryCount(1)

[ResourceType] For resource 0x0104009a, entry index(154) is beyond type entryCount(1)

[art] JNI RegisterNativeMethods: attempt to register 0 native methods for md5273015a7c6f69d49f2dbf56174f57120.SfKanbanRenderer

[Mono] Assembly Ref addref Syncfusion.SfKanban.Android[0xb893dff0] -> Xamarin.Android.Support.v7.CardView[0xb89b2908]: 3

[art] JNI RegisterNativeMethods: attempt to register 0 native methods for md5273015a7c6f69d49f2dbf56174f57120.NativeKanbanExt

[ResourceType] For resource 0x010302ae, entry index(686) is beyond type entryCount(1)

[ResourceType] For resource 0x0103026d, entry index(621) is beyond type entryCount(1)

[ResourceType] For resource 0x01030308, entry index(776) is beyond type entryCount(1)

[Mono] [0x94ecd930] hill climbing, change max number of threads 24

[Mono] Assembly Ref addref Syncfusion.SfKanban.XForms.Android[0xb8986c90] -> System.Core[0xb8b45688]: 10

[Mono] Assembly Ref addref Syncfusion.SfKanban.Android[0xb893dff0] -> System.Core[0xb8b45688]: 11

[art] JNI RegisterNativeMethods: attempt to register 0 native methods for md5c72b89da4c1fe1946a358e95cdee9005.KanbanItemView

[Mono] Assembly Ref addref Syncfusion.SfKanban.Android[0xb893dff0] -> Xamarin.Android.Support.v4[0xb89bccd8]: 5

[Choreographer] Skipped 37 frames!  The application may be doing too much work on its main thread.

[art] JNI RegisterNativeMethods: attempt to register 0 native methods for md5c72b89da4c1fe1946a358e95cdee9005.KanbanExpandView

[ResourceType] For resource 0x01030206, entry index(518) is beyond type entryCount(1)

[ResourceType] For resource 0x01040098, entry index(152) is beyond type entryCount(1)

[ResourceType] For resource 0x01030206, entry index(518) is beyond type entryCount(1)

[Mono] DllImport searching in: '__Internal' ('(null)').

[Mono] Searching for 'java_interop_jnienv_set_int_field'.

[Mono] Probing 'java_interop_jnienv_set_int_field'.

[Mono] Found as 'java_interop_jnienv_set_int_field'.

[ResourceType] For resource 0x01030206, entry index(518) is beyond type entryCount(1)

[ResourceType] For resource 0x01040098, entry index(152) is beyond type entryCount(1)

[ResourceType] For resource 0x01030206, entry index(518) is beyond type entryCount(1)

[Mono] Assembly Loader probing location: '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Threading.dll'.

[Mono] AOT module '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Threading.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Threading.dll.so" not found

[Mono] AOT module '/Users/builder/data/lanes/3511/501e63ce/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Threading.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Threading.dll.so" not found

[Mono] Assembly Ref addref MyCouch.Pcl[0xb8821a50] -> System.Threading[0xb8978710]: 6

[Mono] Assembly Ref addref MyCouch.Pcl[0xb8821a50] -> System.Reflection.Extensions[0xb8a004b0]: 6

[Mono] Assembly Loader probing location: '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Linq.Expressions.dll'.

[Mono] AOT module '/storage/emulated/0/Android/data/com.artair.artair/files/.__override__/System.Linq.Expressions.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Linq.Expressions.dll.so" not found

[Mono] AOT module '/Users/builder/data/lanes/3511/501e63ce/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Linq.Expressions.dll.so' not found: dlopen failed: library "/data/app/com.artair.artair-1/lib/arm/libaot-System.Linq.Expressions.dll.so" not found

[Mono] Assembly Ref addref MyCouch.Pcl[0xb8821a50] -> System.Linq.Expressions[0xb8a05a78]: 4

[View] requestLayout() improperly called by md5c72b89da4c1fe1946a358e95cdee9005.KanbanScrollView{b542e13 VFEDH.... ......ID 0,0-720,0} during layout: running second layout pass

[View] requestLayout() improperly called by md5c72b89da4c1fe1946a358e95cdee9005.KanbanContentView{b206a49 V.E...... ......I. 0,0-0,0} during layout: running second layout pass

[View] requestLayout() improperly called by md5c72b89da4c1fe1946a358e95cdee9005.KanbanColumn{ce22168 V.E...... ......I. 0,0-0,0} during layout: running second layout pass

[View] requestLayout() improperly called by android.view.View{86bec14 V.ED..... ......ID 0,0-0,0} during layout: running second layout pass

[View] requestLayout() improperly called by md5c72b89da4c1fe1946a358e95cdee9005.KanbanExpandView{abbe386 V.ED..C.. ......I. 0,0-0,0} during layout: running second layout pass

[View] requestLayout() improperly called by android.widget.TextView{bdb4699 V.ED..... ......ID 0,0-0,0} during layout: running second layout pass

[View] requestLayout() improperly called by android.widget.TextView{be2b212 V.ED..... ......ID 0,0-0,0} during layout: running second layout pass

[View] requestLayout() improperly called by md5c72b89da4c1fe1946a358e95cdee9005.KanbanHeaderLayout{8970474 V.E...C.. ......ID 0,0-0,0} during layout: running second layout pass

[View] requestLayout() improperly called by md5270abb39e60627f0f200893b490a1ade.NavigationPageRenderer{4e7fe37 V.E...C.. ......ID 0,48-720,1184 #1} during second layout pass: posting in next frame

[View] requestLayout() improperly called by android.widget.TextView{bdb4699 V.ED..... ......ID 0,26-0,26} during second layout pass: posting in next frame

[View] requestLayout() improperly called by md5c72b89da4c1fe1946a358e95cdee9005.KanbanHeaderLayout{8970474 V.E...C.. ......ID 20,0-720,0} during second layout pass: posting in next frame

[View] requestLayout() improperly called by android.widget.TextView{be2b212 V.ED..... ......ID 0,-10-188,-10} during second layout pass: posting in next frame

[Mono] GC_BRIDGE waiting for bridge processing to finish



————CS Code fragment:



public partial class ViewShow : ContentPage
{
bool isNewItem;
public Show showItemContext { get; set;}
public SongListViewModel songListContext  {get; set;}

public ViewShow(bool isNew = false)
{
InitializeComponent();
isNewItem = isNew;
songListContext = new SongListViewModel();

songsColumn.Categories = new List<object>() { "Songs" };
}




1 Reply

DV Divya Venkatesan Syncfusion Team February 22, 2017 12:50 PM UTC

Hi Daniel,

We are not able to reproduce the reported issue at our end and we have modified the sample with the code you have provided. Please update us the modified sample to reproduce the issue which will be helpful for providing further assistance on this.

Sample: https://www.syncfusion.com/downloads/support/forum/129016/ze/KanbanSample898273970

Regards,
Divya Venkatesan

Loader.
Up arrow icon