Comments (16)
Can you give me your xaml code? (namespaces definitions) I think it's the reason it isn't working.
from dltoolkit.forms.controls.
This is important one:
xmlns:flv="clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.FlowListView"
<flv:FlowListView></flv:FlowListView>
from dltoolkit.forms.controls.
Sure can!
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:static="clr-namespace:Kembit.BPA.Helpers;assembly=Kembit.BPA"
xmlns:controls="clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.FlowListView"
x:Class="Kembit.BPA.Pages.ChoosePizzaPage" Title="Kies je pizza..." BackgroundColor="{x:Static static:Constants.BackgroundColor}" IsBusy="{Binding IsLoading}">
<controls:FlowListView ItemsSource="{Binding PizzaList}" SelectedItem="{Binding SelectedPizza}" IsPullToRefreshEnabled="True"
RefreshCommand="{Binding LoadPizzasCommand}" IsRefreshing="{Binding IsLoading}" HasUnevenRows="True" SeparatorVisibility="None">
<!--ItemTemple etc.-->
</controls:FlowListView>
Got around it by copying the dll manually to the output folder on my Mac. Starting to think it is on my end, although Copy to Local is set to true.
from dltoolkit.forms.controls.
That should work! Could you try flv
instead controls
?
BTW: Please mind there were some API changes in current repo that are not on nuget yet. I'll release it today.
from dltoolkit.forms.controls.
Doesn't help.. Weirdly it just seems to work when I manually include the DLL. But it will cause a problem when I will build a release package.
Another question; what is the easiest way to divide the ListView into two columns? I don't need anything fancy. Just want to show two columns of equal size :)
edit - Ah I see in the Xamarin Forums that you're adding new features for this? And they are in the NuGet you're releasing? I'll wait for that then!
from dltoolkit.forms.controls.
If the problem exists only in release build, then it's definitely a linking issue. You should add those namespaces to linker exclude options. I will investigate that.
Another question; what is the easiest way to divide the ListView into two columns? I don't need anything fancy. Just want to show two columns of equal size :)
Just add 2 same columns definitions. Are you using the nuget dll? or current dll? The api changed (old methods are obsolete.
With new api something like that:
<flv:FlowListView x:Name="FlowListView" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
FlowItemsSource="{Binding Items}" SeparatorVisibility="None" HasUnevenRows="true" >
<flv:FlowListView.FlowColumnsTemplates>
<flv:FlowColumnSimpleTemplateSelector ViewType="{x:Type local:Views.YourCustomView}"/>
<flv:FlowColumnSimpleTemplateSelector ViewType="{x:Type local:Views.YourCustomView}"/>
</flv:FlowListView.FlowColumnsTemplates>
</flv:FlowListView>
...and that's all. I'll update samples soon with better ones.
from dltoolkit.forms.controls.
I'm using the NuGet!
So I'll wait for the new version of that!
Meanwhile I've found a sort-of cause to my problem. It seems that when there are no code references to the FlowListView
the DLL is rendered non-used while building and thus not included.
When I add a bogus declaration in the code-behind like var foo = new FlowListView();
the problem is resolved.
from dltoolkit.forms.controls.
Yes. I'll create static method to avoid linking issues when using only XAML. Something like FlowListView.Init();
If you want to test it before release, here is dll
https://mega.nz/#!RVAUlZzY!vbnr7LMqAxMKS18fnemIVBBMmblsel5ww8A5BaFHFIg
Yes, it's just a single DLL.
from dltoolkit.forms.controls.
Awesome! I will check it out! Thanks! :)
from dltoolkit.forms.controls.
You can now try alpha nuget https://www.nuget.org/packages/DLToolkit.Forms.Controls.FlowListView/1.0.3-alpha1
from dltoolkit.forms.controls.
Hi Daniel, I meet the same error whereas I have copied code that works in a project to another one...
from dltoolkit.forms.controls.
Do you use it in XAML only?
- Make sure you call FlowListView.Init() somewhere
- Make sure you add nugets to all projects (shared and platform specific)
from dltoolkit.forms.controls.
Yes, I use it in XAML only.
As I wrote you through the Xamarin forum, I meet this problem only under the iOS project.
I just added the nugets to the iOS project but it didn't change anything...
I don't understand cause I use the FlowListView without any problem in another solution. In this solution, I only added the nugets in the PCL and all works fine.
In add, I don't see where I must place the call "FlowListView.Init()"? I don't use it in the other solution, and I don't find it either in your sample "DLToolkit.Forms.Controls"...
from dltoolkit.forms.controls.
Put it in AppDelegate
in iOS project, after Xamarin.Forms initialization.
from dltoolkit.forms.controls.
Thanks it's working like this.
Is there any reason that I must use this for a project and not for another one?
from dltoolkit.forms.controls.
DLToolkit.Forms.Controls.FlowListView.dll.so' not found issue is coming what should i do to resolve this issue
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.