{"id":13472119,"url":"https://github.com/sockeqwe/mosby","last_synced_at":"2025-05-14T01:09:22.454Z","repository":{"id":29301106,"uuid":"32834215","full_name":"sockeqwe/mosby","owner":"sockeqwe","description":"A Model-View-Presenter / Model-View-Intent library for modern Android apps","archived":false,"fork":false,"pushed_at":"2022-03-09T15:17:41.000Z","size":26564,"stargazers_count":5481,"open_issues_count":27,"forks_count":840,"subscribers_count":213,"default_branch":"master","last_synced_at":"2025-04-03T06:06:16.391Z","etag":null,"topics":["android","architecture","java","mosby","mvi","mvp","redux"],"latest_commit_sha":null,"homepage":"http://hannesdorfmann.com/mosby/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sockeqwe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-25T00:59:19.000Z","updated_at":"2025-03-29T06:19:27.000Z","dependencies_parsed_at":"2022-08-02T15:31:25.030Z","dependency_job_id":null,"html_url":"https://github.com/sockeqwe/mosby","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sockeqwe%2Fmosby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sockeqwe%2Fmosby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sockeqwe%2Fmosby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sockeqwe%2Fmosby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sockeqwe","download_url":"https://codeload.github.com/sockeqwe/mosby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248202119,"owners_count":21064265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","architecture","java","mosby","mvi","mvp","redux"],"created_at":"2024-07-31T16:00:52.054Z","updated_at":"2025-04-10T10:48:11.252Z","avatar_url":"https://github.com/sockeqwe.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Framework\"\u003e\u003c/A\u003eFramework"],"readme":"# Mosby\nA Model-View-Presenter and Model-View-Intent library for Android apps.\n\n\n[![Build Status](https://travis-ci.org/sockeqwe/mosby.svg?branch=master)](https://travis-ci.org/sockeqwe/mosby)\n\n# Dependency\n\n```groovy\ndependencies {\n\n  compile 'com.hannesdorfmann.mosby3:mvi:3.1.1' // Model-View-Intent\n  // or\n  compile 'com.hannesdorfmann.mosby3:mvp:3.1.1' // Plain MVP\n  // or\n  compile 'com.hannesdorfmann.mosby3:viewstate:3.1.1' // MVP + ViewState support\n}\n```\n\nAdditional modules:\n\n```groovy\ndependencies {\n\n  // MVP + ViewState + LCE Views\n  compile 'com.hannesdorfmann.mosby3:mvp-lce:3.1.1'\n\n  // Null Object Presenter for MVP\n  compile 'com.hannesdorfmann.mosby3:mvp-nullobject-presenter:3.1.1'\n  \n  // Queuing Presenter for MVP\n  compile 'com.hannesdorfmann.mosby3:mvp-queuing-presenter:3.1.1'\n}\n```\n\n**SNAPSHOT:**\n\n```groovy\ndependencies {\n\n  compile 'com.hannesdorfmann.mosby3:mvi:3.1.2-SNAPSHOT'\n\n  compile 'com.hannesdorfmann.mosby3:mvp:3.1.2-SNAPSHOT'\n  compile 'com.hannesdorfmann.mosby3:viewstate:3.1.2-SNAPSHOT'\n\n  compile 'com.hannesdorfmann.mosby3:mvp-lce:3.1.2-SNAPSHOT'\n  compile 'com.hannesdorfmann.mosby3:mvp-nullobject-presenter:3.1.2-SNAPSHOT'\n  compile 'com.hannesdorfmann.mosby3:mvp-queuing-presenter:3.1.2-SNAPSHOT'\n}\n```\n\nYou also have to add the url to the snapshot repository:\n\n```gradle\nallprojects {\n  repositories {\n    maven { url \"https://oss.sonatype.org/content/repositories/snapshots/\" }\n  }\n}\n```\n\n# Documentation\nSee the [project website](http://hannesdorfmann.com/mosby/).\n\nFor Model-View-Intent check out [this blog post series](http://hannesdorfmann.com/android/mosby3-mvi-1).\n\n# Changelog\nThe changelog can be found in the [release section](https://github.com/sockeqwe/mosby/releases)\n\n# Migrating\nIn Mosby 3.0 we have changed the package name from `com.hannesdorfmann.mosby` to `com.hannesdorfmann.mosby3` (note the **3** at the end).\nMigrating a Mosby 2.x based app to Mosby 3.0 should be straightforward:\nJust replace all import statements of your app in android studio with `Edit -\u003e Find -\u003e Replace in Path ...`\nand set find `import com.hannesdorfmann.mosby` replace with `import com.hannesdorfmann.mosby3`.\nThere were also some minor API changes (see [changelog](https://github.com/sockeqwe/mosby/releases)),\nbut most apps should be fine by replacing the import statements.\n\n# Conductor\nMosby has a plugin for [Conductor](https://github.com/bluelinelabs/Conductor). You can find it here: https://github.com/sockeqwe/mosby-conductor\n\n# License\n```\nCopyright 2015 Hannes Dorfmann\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsockeqwe%2Fmosby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsockeqwe%2Fmosby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsockeqwe%2Fmosby/lists"}