{"action":"created","issue":{"url":"https://api.github.com/repos/Arello-Mobile/Moxy/issues/209","repository_url":"https://api.github.com/repos/Arello-Mobile/Moxy","labels_url":"https://api.github.com/repos/Arello-Mobile/Moxy/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/Arello-Mobile/Moxy/issues/209/comments","events_url":"https://api.github.com/repos/Arello-Mobile/Moxy/issues/209/events","html_url":"https://github.com/Arello-Mobile/Moxy/issues/209","id":342290010,"node_id":"MDU6SXNzdWUzNDIyOTAwMTA=","number":209,"title":"Работа с несколькими модулями","user":{"login":"a-solovyev","id":41339928,"node_id":"MDQ6VXNlcjQxMzM5OTI4","avatar_url":"https://avatars3.githubusercontent.com/u/41339928?v=4","gravatar_id":"","url":"https://api.github.com/users/a-solovyev","html_url":"https://github.com/a-solovyev","followers_url":"https://api.github.com/users/a-solovyev/followers","following_url":"https://api.github.com/users/a-solovyev/following{/other_user}","gists_url":"https://api.github.com/users/a-solovyev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-solovyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-solovyev/subscriptions","organizations_url":"https://api.github.com/users/a-solovyev/orgs","repos_url":"https://api.github.com/users/a-solovyev/repos","events_url":"https://api.github.com/users/a-solovyev/events{/privacy}","received_events_url":"https://api.github.com/users/a-solovyev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-18T11:34:03Z","updated_at":"2018-07-25T06:04:00Z","closed_at":null,"author_association":"NONE","body":"Имеется следующая структура\r\nFeatureModule\r\n-- ActivityA\r\n-- ActivtyB\r\nFullAppModule\r\n-- ActivityC\r\n\r\nFeatureModule - отдельная фича приложения (доступная для запуска отдельно от полного приложения), FullAppModule - полное приложение, которые содержит в себе FeatureModule. \r\nActivityA, ActivityB, ActivityC используют Moxy.\r\n\r\nСогласно [документации](https://github.com/Arello-Mobile/Moxy/wiki/Multiple-modules), чтобы сборка FullAppModule успешно работала необходимо в  FeatureModule в build.gradle указать путь **arg(\"moxyReflectorPackage\", \"some.unique.package.name\")** и прописать его в FullAppModule в виде аннотации **@RegisterMoxyReflectorPackages**. \r\n\r\nЕсли сделать таким способом, то при запуске FeatureModule отдельно от FullAppModule  функционал Moxy не будет работать, т.к. MvpProcessor ищет MoxyReflector внутри пакета **com.arellomobile.mvp**, а его там нет, т.к. из-за правила **arg(\"moxyReflectorPackage\", \"some.unique.package.name\")** он сгенерировался в другом пакете.\r\n\r\nКонцепция с **RegisterMoxyReflectorPackages** не очень подходит, когда в проекте есть модули, доступные для запуска по отдельности.\r\n\r\nПланируется ли какой-то фикс для этой ситуации?"},"comment":{"url":"https://api.github.com/repos/Arello-Mobile/Moxy/issues/comments/407643301","html_url":"https://github.com/Arello-Mobile/Moxy/issues/209#issuecomment-407643301","issue_url":"https://api.github.com/repos/Arello-Mobile/Moxy/issues/209","id":407643301,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzY0MzMwMQ==","user":{"login":"senneco","id":1791796,"node_id":"MDQ6VXNlcjE3OTE3OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1791796?v=4","gravatar_id":"","url":"https://api.github.com/users/senneco","html_url":"https://github.com/senneco","followers_url":"https://api.github.com/users/senneco/followers","following_url":"https://api.github.com/users/senneco/following{/other_user}","gists_url":"https://api.github.com/users/senneco/gists{/gist_id}","starred_url":"https://api.github.com/users/senneco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senneco/subscriptions","organizations_url":"https://api.github.com/users/senneco/orgs","repos_url":"https://api.github.com/users/senneco/repos","events_url":"https://api.github.com/users/senneco/events{/privacy}","received_events_url":"https://api.github.com/users/senneco/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T06:04:00Z","updated_at":"2018-07-25T06:04:00Z","author_association":"MEMBER","body":"Это интересная точка роста. Только у меня пока нет идей, как это можно хорошо сделать. Наверное, нужно добавлять какой-то аргумент аннотейшен процессора и как-то по другому генерировать код."}}
{"actor":{"display_login":"senneco"}}