Code Monkey home page Code Monkey logo

dynamicforms's People

Contributors

kzu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynamicforms's Issues

Windows Phone version

Hello, and thanks again for this amazing funcionality. I successfully tested it on IOS and Android, but failed to get results on Windows Phone.

Looking at the source:

  1. Is there a reason for the Windows Phone project being outside the main solution?
  2. I can see that the project references a whole bunch of different files, different from all the other projects (that are linked to Desktop project), and seem to be missing?
  3. After some tests i realize that the Windows Phone implementation of a lot of the Reflection stuff common in all other projects seems to be quite different. If i target the project to Windows Phone 8.1 i get a lot of errors, if i try adding a simpler Windows Phone 8.0 target (the one i'm actually interested in), i get 2 errors:

a. ConcurrentDictionary -> Not available in Windows Phone 8.0

This is easily replaced by an ImmutableDictionary, refer to this:
http://stackoverflow.com/questions/18367839/alternative-to-concurrentdictionary-for-portable-class-library

b. In DynamicParameterInfo i get an error related to ParameterInfo, which doesn't have "a constructor that takes 0 arguments". Windows Phone "mscorlib" implementation shows ParameterInfo as an abstract class without a constructor (other platforms implementations have it), so the exact same code fails. Perhaps i'm missing something, but the boilerplate code for DictionaryModel and JsonModel must be a little different for Windows Phone.

If i ignore DictionaryModel and JsonModel entirely and stick just to LoadFromXaml reflection, (i used DependencyService to create my own method just to test Windows Phone version) it works without problems.

Bottom line: do you have any clue regarding that DynamicParameterInfo problem stated above? If we can resolve it, i think all the problems will be solved.

What do you think?

Thanks,

Nuno

Load multiple nested object

If i try to load an object with one or plus nested object in it, the "LoadFromXaml" method crash.

For example :

        var grid = new Grid();

        var xamlGrid = @"<?xml version=""1.0"" encoding=""utf-8"" ?><Grid  xmlns=""http:=//xamarin.com/schemas/2014/forms""  xmlns:x=""http://schemas.microsoft.com/winfx/2009/xaml""  x:Name=""myGrid""><Image Grid.Row=""0"" Grid.Column=""0""/></Grid>";

        grid.LoadFromXaml(xamlGrid);

Nuget is far behind the source code here eg. Doesn't include DictionaryModel

I would like to use this project, but I'm not super experienced with Xamarin and Nuget and I don't know how to use an unbuilt nuget or build one. This project is particularly painful to use without a nuget release because it has multiple projects for platforms.

In particular DictionaryModel is the only example I've found of a dynamic bindable object in Xamarin.

Please, please do a new nuget build and release.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.