Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Documentation for 2.0.0-M5 release not yet deployed? #85

Open

Description

@ThijsBroersen

This week I started using Macroid and reading through the documentation. While using it yesterday I suddenly the 2.0.0-M4 release was not available anymore ... After browsing the repositories I noticed it did not exist anymore but instead there is a M5 release which has some breaking changes. After browsing through the documentation of the M5 release branch I have seen the documentation is already up-to-date but http://macroid.github.io/ does not yet contain the new documentation.
When will http://macroid.github.io/ be updated with the M5 documentation?

Activity

  1. javipacheco commented on Apr 20, 2016

    @javipacheco
    Collaborator

    Hi @ThijsBroersen

    The 2.0.0-M4 version is still in JCenter. This version was released one year ago and the master branch has been updated during this time. We are working in #84 in order to release 2.0.0-M5 version with the latest changes

    We are going to update the documentation ASAP but my recommendation is upgrade to 2.0.0-M5 because it's the last version. This version is already available in Maven Central (Sonatype)

    Some changes that you should do in your code:

    Use:

    myUi.run
    myUi.get

    instead of

    runUi(myUi)
    getUi(myUi)

    And now Tweaking, Snailing and Excerpting traits are in package.scala and you should use import macroid._ instead of import macroid.FullDSL._

    If you have some specific problem in your migration, please, let me know!

    Thanks!

  2. mauricioguell commented on Jun 8, 2016

    @mauricioguell

    Hi @javipacheco!

    I'm trying to migrate to 2.0.0-M5 version but I'm having several problems.
    Can you help me with this 2.0.0-M4 example of my code? It will be really helpful.

    override def onCreate(savedInstanceState: Bundle): Unit = {
      super.onCreate(savedInstanceState)
      setContentView {
        getUi {
          layout[LinearLayout](
            fragment[StartFragment].framed(Id.map, Tag.tag)
          ) <~ vertical
        }
      }
    }

    Thanks!

  3. javipacheco commented on Jun 8, 2016

    @javipacheco
    Collaborator

    Try this:

    override def onCreate(savedInstanceState: Bundle): Unit = {
      super.onCreate(savedInstanceState)
      setContentView {
       (layout[LinearLayout](
            fragment[StartFragment].framed(Id.map, Tag.tag)
          ) <~ vertical).get
      }
    }

    You should use yourUi.get instead of getUi(yuorUi) and yourUi.run instead of runUi(yourUi)

  4. mauricioguell commented on Jun 8, 2016

    @mauricioguell

    Fantastic, worked for me, thanks @javipacheco !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions