User Profile & Activity

Leo Hong Member
Page
of 3
I am very glad to hear that.
In my project, I create three views for one entity, such as SimpleComment, DetailComment, FullComment.
I need to cry now..
It is easily reproduce. Almost every loading data operation should produce this. Especially when UIImageView uses image placeholder.
I know that it should be a little hard.
As you know, the CollectionViewController has its own zoom in/out functions, but in carousel view I cannot invoke these methods. That's why I request for help.

Maybe you can give me some advisements how to implement it manually..
It throws IndexOutOfRangeException, you can check the images in my first post.
I am sure it is thrown by Intersoft.Crosslight.ManagedPropertyBag.

I reuploaded the sample , please take a look.
MyInventory_WebApi.zip

It's hard to reproduce, sometimes it can be shown.
Please try...
I reuploaded the sample , please take a look.
MyInventory_WebApi.zip
It seems that the IndexOutOfRangeException happens in Intersoft.Crosslight.ManagedPropertyBag.
The dictionary in ManagedPropertyBagthrows the error.
Hi Arief,

I updated my client assembly to Crosslight 3.0.5000.231
Duplicated sending issue is reproduced when incremental loads data.

Please take a look at my attachment & image:
MyInventory_WebApi.7z

The problem is when use ImageMemberPath, the two image views will show the same picture. Please take a look at my attachment images. 

My requirement is the two image views should show different images, that's why I need to use ImageSourceProperty. It's no problem on Android platform.

Hi Arief,

Is there any updates?

I added 2 UIImageView in the ItemListViewCell which named ItemImageView and TestImageView. When I bind ImageSourceProperty to each of them with different image source url, The "Object reference not set to an instance of an object" exception is thrown.

The binding info is shown as below. It is in the ItemListBindingProvider.cs file.

            ItemBindingDescription itemBinding = new ItemBindingDescription                                                 {
                                                     //DisplayMemberPath = "Name",
                                                     //DetailMemberPath = "Location",
                                                     //ImageMemberPath = "ResolvedThumbnailImage",
                                                     //ImagePlaceholder = "item_placeholder.png"
                                                 };
			itemBinding.AddBinding("ItemImageView", BindableProperties.ImageSourceProperty, "ResolvedThumbnailImage");

			itemBinding.AddBinding("TestImageView", BindableProperties.ImageSourceProperty, "ResolvedTestImage");
			itemBinding.AddBinding("TestImageView", BindableProperties.IsVisibleProperty, "Sold");

By the way, it is no problem when use this bind info on Android platform. Please take a look.

I uploaded my sample:  MyInventory.7z

All times are GMT -5. The time now is 10:00 PM.
Previous Next