Crosslight Android Expense Sample

3 replies. Last post: April 6, 2016 3:37 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello Crosslight Support,

I have two questions about the expense sample.

1. When I start the sample, I see the list of already entered expenses. On Android, when I tap on a list item and hold for a second, I enter the edit mode of the list. One of the list items is checked and I click on the trash box icon on the right upper corner. The selected list item is gone as expected.

But I am still in edit mode. In the belonging view model in the constructor there is the following line:

this.ExitEditModeOnDelete

I have expected that I exit the edit mode after deleting the selected list items. But this is not the case. Is it a bug or a missleading property name?

2. In the constructor of the ExpenseListViewModel there is the EnableRefresh property. When I set this property to false (this.EnableRefresh = false) the resulting behaviour seems wrong to me. I have expected that the pull to refresh is disabled now. But when I do a pull to refresh in the expenses list now, the update circle still appears and it never disappears again. It is stuck in an endless loop until I switch to another page. What is the intended behaviour of the EnableRefresh property?

I tested with the latest Crosslight version 5.0.5000.570

Thanks for clarifying.

Thomas

All times are GMT -5. The time now is 9:00 AM.
Previous Next