User Profile & Activity

Yudi Member
Page
of 259
Posted: December 22, 2014 6:15 AM
First, once more there is a problem with the culture. Please, have a look at the "ItemRepository". Creating an item there is a runtime error when parsing the price if one has a German culture on his device. Meanwhile I have reported this issue like five times. But you still seem to ignore the fact that there exist cultures beside "EN" or "US".

Sorry for any inconvenience this culture problem may have caused you. I will have this reported to Production team, to handle different kind of cultures (besides en-US) in Crosslight samples.


... Sliding to the forth item the text says "Diamondback 2013 Overdrive Mountain Bike" but the image shows not a mountain bike. Instead the white football shirt is shown...

This problem has been submitted to Crosslight development team to be fixed. The report is filed under CROS-648. I'll keep this thread informed with any news I heard from the team regarding CROS-648.


Third, some text parts are not shown correctly.
Please, see the attached screenshot (Screenshot_2014-12-19-09-41-21 no Photoshop).

A quick fix in the sample level, specifically in Inventories.xml file will be available very soon in our git. I'll keep this thread informed when the xml file has been updated.


Finally, I tested on my iPhone (iOS 7). There it seems to work better. But the "Item List" has a bad transition when going from the list to the details (contents overlap - see Foto.png).

I will have this forwarded to Crosslight development team to be investigated further. I'll get back to you as soon as possible regarding this transition problem.

Updated on December 22, 2014 2:00 AM

A nightly build for CROS-648 is available to be evaluated in here. Please apply the nightly build and let us hear whether it helps or not.

Fix for the third problem: some text parts are not shown correctly, has been pushed to the sample's git. Please feel free to let us know if you still find issues/problems regarding this fix.

The transition problem in iOS 7.1 is not a control problem. It is a minor glitch in the sample. The Production team has managed to fix this by setting View's BackgroundColor to White. For more detail, please check the changes on DetailItemSliderViewController.cs file as shown in the following snippet code.

protected override void InitializeView()
{
    base.InitializeView();

    this.View.BackgroundColor = UIColor.White;
    ...
}

Please get the updated sample and let us hear your response.

Posted: December 22, 2014 1:35 AM
What I want to achieve is setting the background color of selected list items programmatically at runtime. On iOS this seems to work quite easy by setting "this.Appearance.CellSelectedBackgroundColor = UIColor.Green;" as you described. Is there a similar way on Android, too?

I'm afraid that there is no similar way on Android. You will need to do the styling via cell templates and xml.

Please ensure that you have added reference to Intersoft.Crosslight.Data.SQLite assembly in all projects; and add reference of Intersoft.Crosslight.Data.SQLite.[platform] (for example: add reference of Intersoft.Crosslight.Data.SQLite.Android in Android project).

You can also check the documentation: Configuring SQLite for Local Data Storage in here. It discusses things that require attention to use SQLite for local data storage in Crosslight applications.

Hope this help.

Posted: December 18, 2014 8:47 AM

Sorry for the delay in sending this.

Crosslight provides an architectural design called application service which controls the application's main entry point and maintains its life cycle. You can implement an application service by deriving from the ApplicationServiceBase class.

For more detail information, I recommend you to check the "Implementing Crosslight Application Service" documentation in here.

The sync process in the Sync Sample will be automatically triggered in the following events:

  • Application Start
  • Application Resume
  • background interval

To learn how data synchronization works and see it in action, please check out the Synchronization Sample which demonstrates a fully-functional simple task app with two-way sync support.

Hope this help.

Posted: December 18, 2014 7:32 AM

For your information, I can use following snippet code to change button's background color (on a simple Android layout) at runtime.

protected override void InitializeView()
{
    base.InitializeView();

    Button btnSendFeedback = FindViewById<Button>(Resource.Id.SendFeedbackButton);
    btnSendFeedback.SetBackgroundColor(Color.Red);
}

However, I haven't managed to get the same approach working for customizing item style of custom cell template scenario. In the meantime, you can try to use the custom cell template way to set the style of listview items for Android platform.

Posted: December 17, 2014 8:33 AM

To enable data synchronization, you need to perform following tasks:

  • Create the entity service, entity repository and entity model that has data synchronization metadata
  • Configure the data access target url.
  • Register the entity repository.
  • Add Crosslight SQLIte assembly in your platform-project reference.
  • Set the EnableDataSynchronization property in AppSettings to True.
  • Register the SynchronizationService and specify the entity types that will take part in synchronization process.

Source: Enabling Data Synchronization

Could you please provide a running sample which replicates the reported problem? I will try to start my investigation using the provided sample.

Posted: December 17, 2014 7:29 AM

Please try to set the UpdateSourceTrigger to PropertyChanged. By default, text will be updated on lost focus.

Hope this help.

Posted: December 17, 2014 7:11 AM

I created a simple Silverlight project; and two pages which implement client-side sorting and server-side sorting. However, I was unable to reproduce the reported problem using the project.

Please find the attached project and try to do sorting on the "Products" module (server-side sorting) or "Customers" module (client-side sorting). Please feel free to let me know if you find anything that I might miss during my attempt in order to reproduce the problem.

Posted: December 17, 2014 2:37 AM

Thank you for sending me the test result. Currently, we are still investigating the issue. Please bear with us while we trying to find what may cause the problem.

Posted: December 17, 2014 2:31 AM

Thank you for your valuable feedback regarding the enhancement of the calendar sample.

Does this mean the calendar is only working on tablets or is it working in phones, too?

In MainViewController_iPad.cs file, it is specified that the device kind is Tablet.

...
namespace CalendarSamples.iOS
{
    [RegisterNavigation(DeviceKind.Tablet)]
    [ImportBinding(typeof(CalendarBindingProvider))]
    public class MainViewController : UIViewController<CalendarViewModel>
    {
        ...

Set the DeviceKind to Phone in order to test calendar sample on phone.

However, we understand that the sample need to be enhanced. I have forwarded your suggestions/ideas to the production team. I'm sure that they will implement your valuable feedback on the calendar sample.

I will let you know with any news I heard from the team regarding the enhancement in the calendar sample.

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