Comments (10)
I've pushed today a WIP on the Presenters normalization:
https://github.com/Cheesebaron/Cheesebaron.MvxPlugins/tree/formspresentersnormalization
I need some more time to figure out how to work with current Android implementation, so maybe I'll end up touching the 2nd point (NavigationHost and so on).
from cheesebaron.mvxplugins.
I think... The NavigationHost is not necessary as the only thing it does is figure out how to get a page such that the PushAsync
, PopAsync
, etc. can be called for navigation. This can now be achieved with that Application
object from Forms, which gives you the main Page
which is enough for that. So what I meant by normalization was to do as is done on iOS and WP on Android as well.
from cheesebaron.mvxplugins.
OK, got it, I'm working on this a little bit today. Will come back with news. Thanks!
from cheesebaron.mvxplugins.
Alright, I will probably be able to do some work on this in the weekend, so if there are any lose ends please do tell :)
from cheesebaron.mvxplugins.
Hey Tomasz,
We've just pushed a bunch of changes to the plug-in taken from a real world project we're working on. The way we were doing the plug-in had some troubles, for instance:
- We were forcing plug-in consumers to take FormsPresenters.Droid's Resources file, instead of the final app's one, so local pictures couldn't be found, i.e.
- We were getting plenty of "you must call Forms.Init() prior to consuming it" due to the initialization chain, so we moved such to final app. We've added some TXT files which guide users on how to set-up their projects, in a similar way to how MvvmCross manages that
We currently have no time to work on the iOS and Windows Phone parts, but should be pretty straightforward to change current code to reflect last changes. If you could please help us here we could align the 3 platforms to the same point. Anyway I'll personally try to take some spare time to do this.
We hope you like it! Happy day!
Marcos
from cheesebaron.mvxplugins.
Hi,
I've just moved the Movies sample here, and adapted it to the latest FormsPresenters plug-in.
Although I've tested iOS Project builds fine, I haven't been able to try to deploy it, it's still pending.
Enjoy!
Marcos
from cheesebaron.mvxplugins.
Alright. If you need to use TMDB you probably need to generate a new API key. My account may or may not have been nuked or the API key has been at least.
👍 Great job @MarcosCobena!
from cheesebaron.mvxplugins.
@MarcosCobena I notice in your sample your App class in the PCL project is derived from MvxApplication. I noticed that in @Cheesebaron's new Forms Presenters plugin, he has an MvxFormsApp class derived from Xamarin's Application class.
My question is: When should the MvxFormsApp class be used with the new plugin vs the MvxApplication class?
Thanks!
Dave
from cheesebaron.mvxplugins.
Hi @dave-t, we recently moved from @Cheesebaron's approach (the one you mention with MvxFormsApp) to the MvxApplication one. If you have a look to the FormsPresenters projects, you'll find some TXT files with instructions on how to run them all. For instance:
https://github.com/Cheesebaron/Cheesebaron.MvxPlugins/blob/master/FormsPresenters/Droid/TODO.txt
from cheesebaron.mvxplugins.
Thanks, @MarcosCobena! I appreciate the information.
from cheesebaron.mvxplugins.
Related Issues (20)
- Stuck at splash screen with Cheesebaron.MvxPlugins.Settings 5.0.0 HOT 9
- Missing reference in latest FormsPresenters.WindowsPhone.csproj HOT 1
- Missing reference in latest FormsPresenters.WindowsPhone.csproj HOT 1
- Settings plugin: Missing Bootstrap for iOS if added via NuGet HOT 4
- Cheesebaron.MvxPlugins-master/Samples/FormsPresenters Upgrade or Fork VS2015RC HOT 3
- Testing FormsPresenters NuSpec via NuGet Package Manager Bugs HOT 2
- Can not update a value to null HOT 2
- DeviceInfo.WindowsUWP Not actually supporting UWP HOT 1
- MvvmCross beta-8 support HOT 4
- PCL support HOT 26
- Getting this!!! HOT 7
- Connectivity IsConnected on Android only correct set when you change the state HOT 3
- could not load plugin assembly for type Cheesebaron.MvxPlugins.Settings.PluginLoader HOT 4
- Default constructor not found for type Cheesebaron.MvxPlugins.Connectivity.Touch.Plugin HOT 4
- System.IO.FileNotFoundException while bootstrapping Cheesebaron.MvxPlugins.DeviceInfo HOT 5
- Failed to resolve parameter for parameter wifi of type IWifi HOT 1
- Connectivity Plugin does not seem to be working on Nexus 6P Android N
- Fix Connection Change events not firing on Android API24+ HOT 1
- Update plugins to MvvmCross 6.0.0 HOT 1
- Update nuget package descriptions
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 cheesebaron.mvxplugins.