User Profile & Activity

Arief Handany Member
Page
of 20

Hi Leo

Our developer investigating this issue right now, i will update you with new information about this issue :)

Hi Leo,

Did you swipe the UI so fast? and how your internet? I already try in 7.0 and 8.0 however i only try in crosslight samples, the problem only happen when i swipe the UI quickly, it will sometime send 10-50 data and move into top but i use rather fast internet, i will update you about this issue.

Hi Leo,

I'm unsuccessfully replicating the problem can you give me sample of your program?

I see thanks jimmy for your instructions, i successfully use autoscrolltovisible, look likes i forgot to add the scroll view

Hi Leo,

I finally found the problem, actually our Crosslight is always reserve first UIimageView (in table type view) to 

ItemBindingDescription itemBinding = new ItemBindingDescription(){ImageMemberPath = "ImageURL"};

The reason are it should be better practice to use the member path, i correct my statement sorry, however in case you have more than one image view you can use 

itemBinding.AddBinding("ImageView2", BindableProperties.ImageSourceProperty, "ImageURL");

ImageView name are reserved for imageMemberPath

So, in case you have more than one image view, it is better to have imageMemberPath for the first UIImageVIew then for the later user itemBinding, also "ImageView" name are reserved for imageMemberPath so for other image view please use different name.

One more thing i was actually add the URL data inside database & Model not manually from ViewModel, if you add data manually the url will fail to load

I attach my sample (need xamarin, intersoft, microsoft async assemblies)

Hi Leo,

In IOS ImageSourceProperty can only accept string, yet ImageProperty can only accept byte[]

you get that error if bind imageSourceProperty with Byte[], here i have example of using ImageSourceProperty in IOS (need internet to load the picture) (to run dont forget to add crosslight assemblies in packages folder and download Microsoft Async from package manager)

For android, it's image view accept both byte[] and string

Hi Leo,

Sorry for a little mistake in our samples, for Custom Template only actually this code is not mandatory:
ItemBindingDescription itemBinding = new ItemBindingDescription(){
DisplayMemberPath = "Name",
DetailMemberPath = "Location",
ImageMemberPath = "ThumbnailImage"
};


MemberPath is only mandatory for non-custom table cell, so you can remove member path and can easily bind more than one image view for example in our case (CustomListBindingProvider) into like this:

ItemBindingDescription itemBinding = new ItemBindingDescription();

itemBinding.AddBinding("ImageView", BindableProperties.ImageProperty, "ThumbnailImage");
itemBinding.AddBinding("ImageView2", BindableProperties.ImageProperty, "YourOtherImage");


Yes we recommend you use ImageLoadService, as far as i already try looks like i can't manually bind byte[] to imageProperty without loading the imageLoader Service

Yeah imageProperty only for byte[]



Hi Leo,

I can bind my image source property from custom UiTableViewCell with the binding provider, is the binding provider and .xib connection that you mean? I am using newest DataSamples from here for UITableViewCell inside CustomStyleListViewController.cs & CustomTableCell.xib

Could you please send me a samples for UITableViewCell problem?

Best Regards,

Arief

Posted: February 26, 2015 8:25 AM

Hi Nelson,

This our 2015 roadmap, you can read it here 

Hope you are excited for our future release! :)


Hello Jimmy,

I'm unsuccessfully replicate your problem, i got no error except "Object reference not set to an instance of an object" that caused by var p_LogoView giving me a null value but AutoScrollToVisible work normally 

I'm using MVVM samples a
nd i insert your code inside BindingProviderViewController.cs in view controller folder i attach the file in this message, could you replicate your problem using that samples and send it to me?

All times are GMT -5. The time now is 11:41 AM.
Previous Next