unoplatform / uno.samples Goto Github PK
View Code? Open in Web Editor NEWA collection of code samples for the Uno Platform
Home Page: http://platform.uno/
License: Other
A collection of code samples for the Uno Platform
Home Page: http://platform.uno/
License: Other
The Contoso sample needs to be reviewed:
Follow on from #293
Should include:
See branch https://github.com/unoplatform/Uno.Samples/tree/dev/xygu/20220705/paginated-feed-listview-2
Fails to launch on Android and iOS
cc @dr1rrb
Calling CameraCaptureUI on Windows does nothing
Current sample doesn't include wpf, gtk and linux targets (see #240)
Hello
UnoContoso.Service is configured to run on port 2706, but App.xaml.cs (in method UseRest) uses port 5000.
It should be changed to:
#if ANDROID
var repository = new RestContosoRepository("http://10.0.2.2:2706/api/");
#else
var repository = new RestContosoRepository("http://localhost:2706/api/");
#endif
The sample breaks when adding
See below stack trace:
Failed to raise 'PointerReleasedEvent': System.TypeInitializationException: TypeInitialization_Type, SQLite.SQLiteConnection
dotnet.js:2373 ---> System.TypeLoadException: VTable setup of type SQLitePCL.SQLite3Provider_sqlite3 failed
dotnet.js:2373 at SQLite.SQLiteConnection..cctor()
dotnet.js:2373 Exception_EndOfInnerExceptionStack
dotnet.js:2373 at SQLiteSample.MainPage.TryCreateDatabase() in C:\Users\Greg\Desktop\Uno.Samples\UI\SQLiteSample\SQLiteSample\SQLiteSample\SQLiteSample.Shared\MainPage.xaml.cs:line 61
dotnet.js:2373 at SQLiteSample.MainPage.<InitializeDatabase>d__1.MoveNext() in C:\Users\Greg\Desktop\Uno.Samples\UI\SQLiteSample\SQLiteSample\SQLiteSample\SQLiteSample.Shared\MainPage.xaml.cs:line 38
dotnet.js:2373 at SQLiteSample.MainPage.TryCreateDatabase() in C:\Users\Greg\Desktop\Uno.Samples\UI\SQLiteSample\SQLiteSample\SQLiteSample\SQLiteSample.Shared\MainPage.xaml.cs:line 61
dotnet.js:2373 at SQLiteSample.MainPage.OnClickMe() in C:\Users\Greg\Desktop\Uno.Samples\UI\SQLiteSample\SQLiteSample\SQLiteSample\SQLiteSample.Shared\MainPage.xaml.cs:line 46
dotnet.js:2373 at SQLiteSample.MainPage.<>c__DisplayClass6_2.<InitializeComponent>b__9(Object _sender, RoutedEventArgs _e) in C:\Users\Greg\Desktop\Uno.Samples\UI\SQLiteSample\SQLiteSample\SQLiteSample\SQLiteSample.Wasm\Uno.UI.SourceGenerators\Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator\MainPage_e02ddde003dafe62614502781685a19d.cs:line 109
I have been working on this for several hours and cannot get Sqlite to work with EFCore.
Hi
I converted Microsoft's Contoso UWP app to Uno Prism. I want to add this source to Samples, how do I do this?
Source : https://github.com/microsoft/Windows-appsample-customers-orders-database
Convert : https://github.com/kaki104/UnoContoso
The last update in VS 2022 caused some samples to stop building, causing the canary to fail. The current non-canary CI is built around partial validation, which makes other samples miss validations.
Updating projects one by one to uno latest will force a rebuild with VS 2022, and will show which projects fail in an incremental manner.
PR #154 - To create the ArchiveProject folder and exclude projects from the CI build.
PR #153 - WebRTC.Wasm - Updated Uno to the latest packages, after the project there is a runtime error to fix
- ListViewSample - Already updated.
After upgrading to Uno 4.1.9, WASM chat client is unable to connect to the service server.
All other platforms work fine.
Hot Reload doesn't work in the Uno Extensions Commerce Sample App using Visual Studio latest release and preview release. But Hot Reload does work if we create a sample application with the Uno Extensions Template.
Visual Studio 2022 Current:
Can't be launched.
Hot Reload should be working on Windows when using the Uno Extensions Commerce Sample App.
x:Uid
at line 60Text
at line 59-60Nuget Package: Required Uno.Extensions
packages.
Package Version(s): 2.1.0-dev.173
.
Affected platform(s):
Visual Studio:
Relevant plugins:
By following this it made the Hot Reload working without having to save my file changes.
Software rendering is working but not Hardware.
I am not sure now where to put the issue. Here or https://github.com/mono/SkiaSharp?
I updated SkiaSharpTest.Wasm to the latest Skia and Uno nuggets (Uno.Samples\UI\SkiaSharpTest). As soon I remove sk:SKSwapChainPanel.. from MainPage.xaml the sample is working. So only Software rendering.
Current sample only includes mobile targets. Update this sample by adding the other Uno platform targets
(see #269 for initial PR)
This sample only has the Mobile and Windows targets. Need to add the other supported Uno platform targets
Apply the unoplatform/uno.toolkit.ui#359 workaround on all macos samples.
Fixes this issue:
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(4,35): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(7,9): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(19,43): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(50,43): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(10,17): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(76,37): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(76,58): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(6,10): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(8,19): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\Views\CartPage.xaml.cs(5,40): error CS0012: The type 'NSView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\Views\CheckoutPage.xaml.cs(3,44): error CS0012: The type 'NSView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\Views\FilterPage.xaml.cs(3,42): error CS0012: The type 'NSView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
After updating to the latest uno.extensions (v2.2.0-dev.127) there is an issue with the reactive generated code:
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.DealsViewModel.cs(69,37,69,44): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.Product, System.Threading.CancellationToken)' to 'Commerce.Business.Models.Product'
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.DealsViewModel.cs(138,37,138,44): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.Product, System.Threading.CancellationToken)' to 'Commerce.Business.Models.Product'
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.CartViewModel.cs(62,25,62,29): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.CartItem, System.Threading.CancellationToken)' to 'Commerce.Business.Models.CartItem'
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.CartViewModel.cs(116,23,116,27): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.CartItem, System.Threading.CancellationToken)' to 'Commerce.Business.Models.CartItem'
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.CartViewModel.cs(170,23,170,27): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.CartItem, System.Threading.CancellationToken)' to 'Commerce.Business.Models.CartItem'
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.CartViewModel.cs(232,25,232,29): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.CartItem, System.Threading.CancellationToken)' to 'Commerce.Business.Models.CartItem'
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.CartViewModel.cs(286,23,286,27): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.CartItem, System.Threading.CancellationToken)' to 'Commerce.Business.Models.CartItem'
1>C:\source\github\unoplatform\Uno.Samples\reference\Uno.Extensions.Commerce\Commerce\Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\Commerce.ViewModels.CartViewModel.cs(340,23,340,27): error CS1503: Argument 1: cannot convert from '(Commerce.Business.Models.CartItem, System.Threading.CancellationToken)' to 'Commerce.Business.Models.CartItem'
After upgrading WebRTC demo's Microsoft.TypeScript.MSBuild
package reference from 4.2.3
to 4.6.2
, I got the following error:
[...]\WebRTC\WebRTC.Wasm\ts\PeerConnection.ts(32,39): error TS2304: Build:Cannot find name 'RTCErrorEvent'
That's because the corresponding interface got removed with TypeScript 4.4 as was announced here: microsoft/TypeScript-DOM-lib-generator/#1029
Please fix the sample by first updating it to the latest packages available & then adapt PeerConnection
's onChannelError
method.
After updating to Uno 4.1.9, Android version is getting a blank screen.
Working on all other platforms.
See branch https://github.com/unoplatform/Uno.Samples/tree/dev/xygu/20220705/paginated-feed-listview-2
Run application on WinUI
Scroll deals and note that as you scroll additional items are added but then subsequent scrolling doesn't load any more items
cc @dr1rrb
CI fails on merge build (see https://dev.azure.com/uno-platform/Uno%20Platform/_build/results?buildId=60707&view=logs&j=b0e9e703-bc7b-5b6a-2ec3-61742e5311eb&t=e4987f70-9797-5667-3e14-6d3b01ce7da1&l=292)
DEBUG: 8+ foreach ($SolutionName in >>>> $SolutionsToBuild) {
DEBUG: 8+ foreach ( >>>> $SolutionName in $SolutionsToBuild) {
DEBUG: 10+ >>>> $solutionPath=[System.IO.Path]::GetDirectoryName($SolutionName);
DEBUG: 12+ >>>> git diff --quiet HEAD "origin/$(System.PullRequest.TargetBranch)" -- "$solutionPath"
DEBUG: 12+ git diff --quiet HEAD "origin/$( >>>> System.PullRequest.TargetBranch)" -- "$solutionPath"
System.PullRequest.TargetBranch : The term 'System.PullRequest.TargetBranch' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At D:\a_temp\0c4ff241-78cd-458d-93d6-406e1a9a0de5.ps1:12 char:38
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sample currently calls SetStatusBarColor directly on the Window.
The Toolkit provides a nice abstraction for StatusBar that allows for colors to be set in XAML
see https://platform.uno/docs/articles/external/uno.toolkit.ui/doc/helpers/StatusBar-extensions.html
TheCatApiClient wasm version is giving a blank screen with no specific error, after upgrading to UNO 4.1.9
All other platforms working fine.
Hi, there are 2 separate repositories that mention using SkiaSharp in a WebAssembly app but none of them seems to work because none of them has any pages to display, which expectedly gives appropriate exception saying that "there is nothing to display because the default page was not defined".
Could somebody point me to working sample of Uno + SkiaSharp for web apps please?
The main goal is to migrate this charting tool to Uno or some sort of web assembly that could be displayed in the browser.
UnoMaterialSample is no longer a valid sample as the most up-to-date packages for Uno.Material no longer contain the Card
, Chip
, ChipGroup
, or Divider
controls.
We either need to make a new UnoMaterialToolkitSample for those scenarios or include the Uno.Toolkit.UI.Material package within the UnoMaterialSample project.
Updated sample (see #278) doesn't include WPF/GTK/Linux
We should be updating Commerce to latest stable packages for all Uno family packages and then ensure the app is working correctly
Explanation: PR#219
Referring to Commerce Sample.
Issue:
Steps to recreate:
Note:
I'd like to know how to run the wasm samples, but the link is broken:
https://github.com/nventive/Uno.Samples/blob/master/doc/index.md
Currently the build process for Samples iterates over the solutions and determines which should be built for each PR. For most PRs this is fine as they only touch one sample. However, for large updates (eg bumping uno version across repo) this breaks the build as it takes 6+hours to run. This is also causing the canary to fail since it tries to build all solutions
A better solution is use matrix job strategy to break the build into jobs based on which solutions need to be built: https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/jobs-job-strategy?view=azure-pipelines
When using unoapp template from Uno.Templates or Visual Studio template wizard resulting Windows app is blurred / low-res looking if system display scaling is other than 100%.
(screenshot showing Uno.Templates unoapp window in the background, and native looking, not blurred window in the foreground)
App correctly scaling with display scaling
Follow getting started guide (for example https://platform.uno/docs/articles/get-started-vs-2022.html) and set display scaling to 150% or 200%. App should be blurry.
Use Rider Getting Started guide (https://platform.uno/docs/articles/get-started-rider.html?tabs=windows). App won't be blury in legacy template used in this guide.
EDIT:
Changing <Manifest Include="$(ApplicationManifest)" />
to <Manifest Include="app.manifest" />
, <WindowsAppSDKSelfContained>
to true and deleting UnoApp.Windows/obj directory also works.
(See comment #330)
Yes
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
Uno.WinUI: 4.8.24
Windows
Visual Studio 2022
17.5.4
No response
Windows 11 22H2
AMD 23.4.2 driver
The README should list and link to available samples, with a 1-2 line description of each.
Hi
The error message that appears when building is as follows. UWP and Android projects run normally.
Severity Code Description Project File Line Suppression State
Error [00:00:00.8932914] /bin/bash: mono: command not found SQLiteSample.Wasm C:\Users\kaki1.nuget\packages\uno.wasm.bootstrap\1.3.0-dev.44\build\Uno.Wasm.Bootstrap.targets 125
Severity Code Description Project File Line Suppression State
Error System.Exception: Failed to generate wasm layout (More details are available in diagnostics mode or using the MSBuild /bl switch)
at Uno.Wasm.Bootstrap.ShellTask_vf2f21c9fe5dfda9f4f03ca4a0a082bf6c8fdbbaf.RunPackager() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 573
at Uno.Wasm.Bootstrap.ShellTask_vf2f21c9fe5dfda9f4f03ca4a0a082bf6c8fdbbaf.Execute() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 182 SQLiteSample.Wasm C:\Users\kaki1.nuget\packages\uno.wasm.bootstrap\1.3.0-dev.44\build\Uno.Wasm.Bootstrap.targets 125
When I try to build Uno.Sample.ControlLibrary.Wasm in VS 2017 15.9.12, I get
Severity Code Description Project File Line Suppression State
Error MSB4057 The target "Build" does not exist in the project. XamlControlLibrary C:\Code\Uno.Samples\UI\ControlLibrary\XamlControlLibrary\XamlControlLibrary.csproj 1
For CommerceApp lists
Refer to this documentation and samples from @dr1rrb.
Since switching to using matrix, the canary updater isn't being run on the samples, only in the initial job that creates the list of projects to run
Testing Android throws exception when attempting to capture photo:
at System.Uri.get_LocalPath()
at Windows.Media.Capture.CameraCaptureUI.CaptureFile(CancellationToken ct, CameraCaptureUIMode mode) in C:\a\1\s\src\Uno.UWP\Media\Capture\CameraCaptureUI.Android.cs:line 56
at Windows.Foundation.AsyncOperation1.d__5[[Windows.Storage.StorageFile, Uno, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null]].MoveNext() in C:\a\1\s\src\Uno.Foundation\AsyncOperation.TResult.cs:line 47 at System.WindowsRuntimeSystemExtensions.d__111[[Windows.Storage.StorageFile, Uno, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null]].MoveNext() in C:\a\1\s\src\Uno.UWP\System.Runtime\WindowsRuntimeSystemExtensions.cs:line 66
at CameraCaptureUISample.MainPage.button_Click(Object sender, RoutedEventArgs e) in C:\source\github\unoplatform\Uno.Samples\UI\CameraCaptureUI\CameraCaptureUISample\CameraCaptureUISample.Shared\MainPage.xaml.cs:line 41
https://github.com/unoplatform/Uno.Samples/tree/master/UI/ControlLibrary
Was hoping there'd also be another sample for Uno.WinUI and the new project setup for control libraries for those. Want to ensure we have our setup correct in WCT Labs to support both Uno.UI and Uno.WinUI. Would be nice to be able to look at both and compare them side-by-side in a simple minimal setup like the samples here.
Or maybe can link to where the templates from the VS extension are instead of having in samples from the docs? https://platform.uno/docs/articles/guides/how-to-create-control-libraries.html
Thanks!
Also see #6 (not sure if that's still a problem?)
We need to upgrade all Wasm, Gtk and WPF samples to net6. For WPF, we'll need to merge the WPF and WPF.Host project, as is in the latest uno templates.
Hi I did a fork of the samples
I want to run the camera on wasm but when I try to do it I got the following exception
Unhandled Exception: System.Security.SecurityException: ECall methods must be packaged into a system module.
at WebAssembly.Runtime.InvokeJS(String str)
at Uno.Foundation.WebAssemblyRuntime.InnerInvokeJS(String str)
at Uno.Foundation.WebAssemblyRuntime.InvokeJS(String str)
at Uno.UI.Xaml.WindowManagerInterop.Init(Boolean isHostedMode, Boolean isLoadEventsEnabled)
at Windows.UI.Xaml.Application.StartPartial(ApplicationInitializationCallback callback)
at CameraCaptureUISample.Wasm.Program.Main(String[] args) in C:\Users\Joche\Source\Repos\Uno.Samples\UI\CameraCaptureUI\CameraCaptureUISample\CameraCaptureUISample.Wasm\Program.cs:line 12
C:\Users\Joche\Source\Repos\Uno.Samples\UI\CameraCaptureUI\CameraCaptureUISample\CameraCaptureUISample.Wasm\bin\Debug\netstandard2.0\CameraCaptureUISample.Wasm.dll (process 7276) exited with code -532462766.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
After the update to .NET 6.0 the MapControl becomes incompatible with the sample. The suggestion comes from this comment
#279 (comment)
Running the Commerce app, the login page (LoginPage) appears, but no viewmodel il bound to the view.
Solution:
Make LoginViewModel public, so that it can be injected and bound to the LoginPage; see: #390
Authentication.OidcDemo getting a blank screen, after updating to Uno 4.1.9. No specific errors found.
Working fine on all other platforms.
We need a sample to highlight how someone could utilize the ListView in order to create a conversation history for something like a chat experience. This is really a matter of styling a ListView and making it work in a "reverse scrolling" way. Attached is an initial POC that we should build upon to fix up and make a good looking sample app out of:
There are some outstanding issues such as the mouse-wheel scrolling this isn't working currently. This will be fixed by @dr1rrb
Eventually, we will take the recipe and place it somewhere in the Toolkit library as a re-useable style/component for people needing a chat experience
POC app:
ReversedScrolling.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.