{"action":"created","issue":{"url":"https://api.github.com/repos/MyTravelsApp/my-travels-app/issues/12","repository_url":"https://api.github.com/repos/MyTravelsApp/my-travels-app","labels_url":"https://api.github.com/repos/MyTravelsApp/my-travels-app/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/MyTravelsApp/my-travels-app/issues/12/comments","events_url":"https://api.github.com/repos/MyTravelsApp/my-travels-app/issues/12/events","html_url":"https://github.com/MyTravelsApp/my-travels-app/issues/12","id":135667128,"number":12,"title":"Repasar capa de objetos","user":{"login":"e-caceres","id":16222860,"avatar_url":"https://avatars.githubusercontent.com/u/16222860?v=3","gravatar_id":"","url":"https://api.github.com/users/e-caceres","html_url":"https://github.com/e-caceres","followers_url":"https://api.github.com/users/e-caceres/followers","following_url":"https://api.github.com/users/e-caceres/following{/other_user}","gists_url":"https://api.github.com/users/e-caceres/gists{/gist_id}","starred_url":"https://api.github.com/users/e-caceres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-caceres/subscriptions","organizations_url":"https://api.github.com/users/e-caceres/orgs","repos_url":"https://api.github.com/users/e-caceres/repos","events_url":"https://api.github.com/users/e-caceres/events{/privacy}","received_events_url":"https://api.github.com/users/e-caceres/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MyTravelsApp/my-travels-app/labels/Fase%202","name":"Fase 2","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T08:07:47Z","updated_at":"2016-02-23T19:48:52Z","closed_at":null,"body":"Actualmente existen 3 capas. DTO, model y entidades y dos converter a DTO y model. Es necesario repasar por si podemos quitar una e implementarlo de otra forma."},"comment":{"url":"https://api.github.com/repos/MyTravelsApp/my-travels-app/issues/comments/187873072","html_url":"https://github.com/MyTravelsApp/my-travels-app/issues/12#issuecomment-187873072","issue_url":"https://api.github.com/repos/MyTravelsApp/my-travels-app/issues/12","id":187873072,"user":{"login":"fjtorres","id":753016,"avatar_url":"https://avatars.githubusercontent.com/u/753016?v=3","gravatar_id":"","url":"https://api.github.com/users/fjtorres","html_url":"https://github.com/fjtorres","followers_url":"https://api.github.com/users/fjtorres/followers","following_url":"https://api.github.com/users/fjtorres/following{/other_user}","gists_url":"https://api.github.com/users/fjtorres/gists{/gist_id}","starred_url":"https://api.github.com/users/fjtorres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjtorres/subscriptions","organizations_url":"https://api.github.com/users/fjtorres/orgs","repos_url":"https://api.github.com/users/fjtorres/repos","events_url":"https://api.github.com/users/fjtorres/events{/privacy}","received_events_url":"https://api.github.com/users/fjtorres/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T19:48:52Z","updated_at":"2016-02-23T19:48:52Z","body":"Una opción puede ser definir alguna interfaz que nos permita evitar dependencias de android donde realmente no son necesarias, es el motivo por el que tenemos 3 capas en los objetos. La capa de View Model y Entity tienen dependencias de android directamente. Una alternativa es obviar esta dependencia y añadir las librerías necesarias al modulo con la lógica de negocio.\r\n\r\nLa idea inicial era que el modulo con la lógica fuera Java, sin dependencias de android para simplificar y facilitar las pruebas en la lógica."}}