brianchance / mvvmcross-userinteraction Goto Github PK
View Code? Open in Web Editor NEWMvvmCross plugin for interacting with the user from a view model
License: MIT License
MvvmCross plugin for interacting with the user from a view model
License: MIT License
Alert doesn't have parameter to change the button's caption from "OK"
Hi
Is the NuGet package compatible with the latest version of Android or any current one past V2.1 (API 7)? Because I am getting a compile error when I compile my MVVM Cross Android project:
Error 25 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Xamarin.Android.Support.v7.AppCompat.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() BigReviewTV.UI.Droid
My target android versions are:
Several months ago I copied a fork of UserInteraction.cs from somewhere that included a Toast method and a few other bits. I can't track down where I got that from, but would you accept a PR with Toast included?
Hello,
I'm using your plugin in a WinRT-WP 8.1-project struggling with disapearing dialogs after suspension.
On Apr 2, 2015 you merged pull request #16. This one exactly would fix my bug. The code is in the current state of the branch and the Chance.MvvmCross.Plugins.UserInteraction.WindowsStore.dll in the lib-folder contains it. But the NuGet-Package 1.1.4 from nuget.org contains an older Version of this dll.
Can you fix the NuGet-Package, please?
Thank you for all your efforts!
Timo
The instructions on the read me only show installation for installing as a plugin, so I'm not sure where to go from here.
Is there any further setup required after installing it as a nuget package or is this an issue?
The error is:
"Failed to resolve type Chance.MvvmCross.Plugins.UserInteraction.IUserInteraction"
Stack:
"Cirrious.CrossCore.Exceptions.MvxIoCResolveException: Failed to resolve type Chance.MvvmCross.Plugins.UserInteraction.IUserInteraction
at Cirrious.CrossCore.IoC.MvxSimpleIoCContainer.Resolve (System.Type t) [0x00000] in :0
at Cirrious.CrossCore.IoC.MvxSimpleIoCContainer.ResolveIUserInteraction [0x00000] in :0"
Any plans to support iOS Unified API (and MvvmCross 3.5)?
I don't see Windows Phone or Windows Store support. I might be able to add it later this week if it's not currently planned. Could I work directly with one of the coordinators to do it and get the nugget package updated? Please contact me directly if possible. jbienz at. Hotmail. dot com.
The ConfirmThreeButtons
is missing the UIApplication.SharedApplication.InvokeOnMainThread(() => {});
part on iOS :-)
Hi,
This may not actually be an issue, but I didnt know how else to contact you so creating this issue so maybe you could help.
I have an MvvmCross app where I load data from a web service. so the command method somewhat looks like this...
public void DoSearch()
{
var res = await SearchService.GetList();
}
The GetList implementation is...
public async Task<T> GetList()
{
if(GetNetworkStatus())
DoNetwork();
else
DoLocal();
}
The GetNetworkStatus function is where I am trying to check for network availability and prompt user to retry or go offline.
var retry = await Mvx.Resolve<IUserInteraction>().ConfirmAsync("Network is unavailable. Do you want to Retry or go Offline?", "Network Error", "Retry", "Offline");
The Alert is never shown when I use this line in GetNetworkStatus. If I use this same line in my ViewModel command or even in GetList of my service... it works but does not work in GetNetworkStatus.
Would you happen to know why?
Would be nice to have localization support for the default buttons (Cancel, OK). Not sure how this could be implemented though.
Hello. Any chance you could add a pre-release package to nuget supporting Mvvmcross 4?
Great plugin, by the way.
For material design goodness!
I'm currently working in a Windows 8.1 Universal Application with Windows 8.1 and Windows Phone 8.1 projects. Are there any plans to support this?
ConfirmAsync blocks indefinitely on android if dialog dismissed by clicking outside it.
This is because the task result is only set if the positive or negative buttons are clicked, if the user dismisses the dialog by clicking outside it then the async call will never complete.
Hi, I get error when I try to install this package from Nuget.
here is the error:
Could not install package 'Chance.MvvmCross.Plugins.UserInteraction 1.0.0'. You are trying to install this package into a project that targets 'portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Thank you in advance.
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.