Comments (6)
from dltoolkit.forms.controls.
I tried to clear all ItemsSource items and then add new items. But the problem remains. It seems clearing / reinitializing biding items doesn't help. Please note that If I open a new page on changing view size, it works properly. I also tried to reinitialize the UIView using Init() of NSObject, Initialize(), or even Dispose() or set to null without success.
from dltoolkit.forms.controls.
I tried the sample SimpleGalleryPage and observed similar behaviour. If I remove to n items, only these items have FlowItemDisappearing visibility changed events. I want all items have the disappearing event hence all will be new elements in iOS ViewRenderer after adding more items later. Is this possible? @daniel-luberda, can you please shed light on this?
from dltoolkit.forms.controls.
@daniel-luberda, I believe you can offer your helping hand. I've stuck with this issue for long time.
In Android app, when changing the size of the matrix view, each view element / cell, regardless of the size, does FlowItemDisappearing and then FlowItemAppearing consistently. That's what we want to achieve the same on iOS app.
iOS app's behaviour is different, only some elements in the matrix view do disappearing and appearing. How can I change this behaviour?
from dltoolkit.forms.controls.
In my iOS app, I compared the events in OnElementChanged in the renderer with the events in FlowItemDisappearing and FlowItemAppearing, and found discrepancies between them. For
example, after changing matrix size from 3x3 to 1 and then from 1 to 3x3, the following is observed:
In OnElementChanged:
3x3-1: deleted first row, added new element 1, OK
1-3x3: recreated the elements 6-9 in 3rd row. The problems: 1. shouldn't need to update 3rd row; 2. the handles of element 2 and 3 were not updated, remaining 0.
3x3-1: deleted the elements in 2nd row. The video plays OK in single view. But the problem is now the handles for elements 2-6 become 0. It will be a problem for next transition 1-9.
In FlowListItem appearing / disappearing events:
3x3-1: disappearing view index 0-2 and appearing 0 (new element 1), correct
1-3x3: -(3-5), +(0-2), -(6,8), +(3-5), +(6-8), this says new elements in row 1, recreated elements in row 2 and 3. The problem: it doesn't match the events in OnElementChanged. It
appears OnElementChanged missed events.
3x3-1: -(0-2), +(0) new element 1, correct
My problem is the handles of the sub views will go out of sync at the end. If each view element / cell in the new matrix disappears and then appears, there will be no problem at all.
Every tile will be refreshed.
from dltoolkit.forms.controls.
It appears that using 4 separate lists of play window handles (one for each matrix size) can overcome the handle management issue. A single view is specially handled by clearing the handles in the list because the handle will always be removed and re-created.
from dltoolkit.forms.controls.
Related Issues (20)
- UWP, Disable row highlight does not work. HOT 1
- DLToolkit.Forms.Controls.FlowListView not working in UWP
- ImageCropView: "Can not access a closed stream." HOT 1
- How do you use FlowListView with design time data
- UWP issue - FlowLoadingCommand keeps loading 5 times ahead of the page size
- Footer is suddenly missing after updating Xamarin.Forms
- Does not move or zoom in XF 4 HOT 2
- Long pressing AND tap command in a list item using effects ?
- ImageCircleCrop Pan and Pinch doesnt seem to be working with latest version HOT 1
- Unable to spy items with Appium HOT 1
- Long tap event with FlowListView
- TagEntryView loses focus when a new tag is added on UWP.
- Binding subproperty of object to FlowItemsSource throws NullRefenceException HOT 1
- Creating sections with different layouts but no grouping
- Add column in Flowlistview
- Heavy lags when connected with debugger to Android on VS2019 16.9.2 and newer HOT 2
- it won't work with ios 15 anymore, are you planning to fix it?
- Since ios 15 reload from event handler leads to immense flickering! HOT 2
- InfiniteScroll, binding FlowTotalRecords doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dltoolkit.forms.controls.