Code Monkey home page Code Monkey logo

morf's People

Contributors

aiavci avatar jguerinet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

aiavci

morf's Issues

Contribution to your form-generator

Hi Julian,
My name is Enrique de Miguel and I like your android form generator. I was wondering if you accept contributions to your project. I've got a few ideas and I would like to develop some of them.
I hope to hear from you soon.

Regards
Enrique de Miguel

Add possibility to customize per form item

It would have to be some sort of builder setup, where the user would specify the values that they would want for the given item.
This would eliminate the need to have methods that take so many inputs: the user could just pick the inputs they want.

Add possibility to deconstruct a FormGenerator into a Builder

If we do this, then you could deconstruct the FormGenerator, change one parameter, and then reconstruct it. For example:

  • You set the default FG to a customized FG
  • Then, for one activity, you need to change one detail
  • You deconstruct the default FG, change that one parameter, and reconstruct it for that activity only.

Readme has room for improvements

Version
v5.0.0

Description
Library has great features but these aren't clear in the README. Also, you might want to add an issue template.

onClick gives warning when defining onClick out of

Version 4.0.1

Description
Compiler gives the warning Unchecked call to 'onClick(Function1<? super T, Unit>)' as a member of raw type 'com.guerinet.fg.base.BaseTextViewItem' when adding an onClick listener to a form item. This warning doesn't occur when theonClick is added via method chaining.

Code

BaseTextViewItem exampleItem= fg.text()
        .text("Form Item: Button")
        .icon(Position.START, R.drawable.ic_info, false)
        .icon(Position.END, R.drawable.ic_chevron_right)
        .build();

exampleItem.onClick(item -> {
    Toast.makeText(this, "Form Item: Button Clicked", Toast.LENGTH_SHORT).show();
    return Unit.INSTANCE;
});

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.