Comments (21)
I installed Prism on the sample project and works great, but it did not work on my project. After that I put the same page and view model on both project (sample project and my project) and still not working, then I saw that I had a Xamarin.Forms update, so I just updated an cleaned my solution and now is working in my app. I didn't have to use FlowListView.Init()
or XAML compiler, even thought I'll probably use the XAMLC at the end for optimization purpose.
Thank you very much for the feedback, I think I can close this issue now.
from dltoolkit.forms.controls.
Do you have any code? Without it I can't help you. FlowListView works fine (just test example project).
from dltoolkit.forms.controls.
This is my list view
<flv:FlowListView x:Name="listview" FlowColumnCount="1" SeparatorVisibility="None" HasUnevenRows="false" FlowItemsSource="{Binding Items}"> <flv:FlowListView.FlowColumnTemplate> <DataTemplate> <Label HorizontalOptions="Fill" VerticalOptions="Fill" XAlign="Center" YAlign="Center" Text="Test" /> </DataTemplate> </flv:FlowListView.FlowColumnTemplate> </flv:FlowListView>
and I'm setting the items in my ViewModel constructor like this.
Items = new ObservableCollection<object> { new { } };
If I leave Items null the page load, if a put any object in the Items collection the page does not load. I've already cloned the project and check the example, but I didn't find the reason why mine is not working.
from dltoolkit.forms.controls.
@Willjobs94 Works just fine for me. See this:
from dltoolkit.forms.controls.
Thats the thing, It works on the sample project, but I don't find what is missing on my project, that it does not work. I does not throw any exception, it just freeze my app.
from dltoolkit.forms.controls.
If you use it XAML
only, do you call FlowListView.Init()
somewhere as stated here: https://github.com/daniel-luberda/DLToolkit.Forms.Controls/tree/master/FlowListView#faq
from dltoolkit.forms.controls.
Somewhere where ?, I tried putting on my code-behind page, and on my platform specific project, if I use the view without setting the item property I can navigate to the page, without error. the app stuck if I set the Items property and navigate to that page., I'm actually using a TappedPage and don't know if that is the problem.
from dltoolkit.forms.controls.
Could you attach some sample project so I could check what's wrong? It's hard to predict.
Somewhere means anywhere, so the Xamarin linker would preserve dll from linking.
from dltoolkit.forms.controls.
This archive contains the view that have the problem, and where I'm using FlowListView.Init()
Archive.zip
from dltoolkit.forms.controls.
You shouldn't put any lists inside ScrollView
- that may be the reason.
from dltoolkit.forms.controls.
I tried removing it, but that's not the problem.
from dltoolkit.forms.controls.
It's not a full solution, it can be anything. Does it work with a normal ListView
?
from dltoolkit.forms.controls.
Yes
from dltoolkit.forms.controls.
- Do you use XAML compilation?
- Could you make a full repro with it?
- Could you try to use a class instead object? Eg:
Items = new ObservableCollection<ItemModel>
{
new ItemModel(),
new ItemModel(),
new ItemModel(),
};
from dltoolkit.forms.controls.
- I do not use XAML compilation
- I can't make a public repo with the source code
- I already tried with class instance and got the same result.
from dltoolkit.forms.controls.
- Please try to enable XAML compilation, maybe it will you show some compilation errors.
- The one page with the same view and model (prism, etc) would be just fine, so I can just test it. It may be something prism specific, are you sure you implemented
INotifyPropertyChanged
correctly? I can't see any calls or do you use Fody?
from dltoolkit.forms.controls.
I use Fody, but I even tried implementing it with Xamvvm like in the project samples and still not working. Let me try with XAML compilation and see what I get. Thanks for the fast feedback
from dltoolkit.forms.controls.
I tried XAMLC but it didn't work, and not exception or error found.
from dltoolkit.forms.controls.
That's strange, I used this control with different MVVM frameworks and didn't have any problems yet. I am wondering what could be the cause of it. I pasted the code and it just worked fine in another solution. Didn't use it with PRISM yet though.
from dltoolkit.forms.controls.
Ok, let me try to use prism, on the sample project and see if that is the problem.
from dltoolkit.forms.controls.
Thanks. If you have the sample project, feel free to mail it / send it to me. I'll try to debug it.
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.
- Extra new elements from OnElementChanged in UIView on iOS HOT 6
- 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.