{"action":"created","comment":{"url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/comments/214917744","pull_request_review_id":152070303,"id":214917744,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDkxNzc0NA==","diff_hunk":"@@ -0,0 +1,252 @@\n+package cm.aptoide.pt.app.view;\n+\n+import cm.aptoide.pt.dataprovider.model.v7.Obb;\n+import java.util.Collections;\n+import java.util.List;\n+\n+/**\n+ * Created by D01 on 29/08/2018.\n+ */\n+\n+class EditorialViewModel {\n+\n+  private final List<EditorialContent> contentList;\n+  private final String cardType;\n+  private final long appId;\n+  private final String appName;\n+  private final String packageName;\n+  private final long size;\n+  private final String icon;\n+  private final String graphic;\n+  private final String uptype;\n+  private final Obb obb;\n+  private final long storeId;\n+  private final String storeName;\n+  private final String storeAvatar;\n+  private final String storeTheme;\n+  private final String vername;\n+  private final int vercode;\n+  private final long fileSize;\n+  private final String path;\n+  private final String backgroundImage;\n+  private final String pathAlt;\n+  private final String md5;\n+  private final boolean loading;\n+  private final Error error;\n+\n+  public EditorialViewModel(List<EditorialContent> contentList, String cardType, long appId,\n+      String appName, String packageName, long size, String icon, String graphic, String uptype,\n+      Obb obb, long storeId, String storeName, String storeAvatar, String storeTheme,\n+      String vername, int vercode, long fileSize, String path, String backgroundImage,\n+      String pathAlt, String md5) {\n+    this.contentList = contentList;\n+    this.cardType = cardType;\n+    this.appId = appId;\n+    this.appName = appName;\n+    this.packageName = packageName;\n+    this.size = size;\n+    this.icon = icon;\n+    this.graphic = graphic;\n+    this.uptype = uptype;\n+    this.obb = obb;\n+    this.storeId = storeId;\n+    this.storeName = storeName;\n+    this.storeAvatar = storeAvatar;\n+    this.storeTheme = storeTheme;\n+    this.vername = vername;\n+    this.vercode = vercode;\n+    this.fileSize = fileSize;\n+    this.path = path;\n+    this.backgroundImage = backgroundImage;\n+    this.pathAlt = pathAlt;\n+    this.md5 = md5;\n+    this.loading = false;\n+    this.error = null;\n+  }\n+\n+  public EditorialViewModel() {","path":"app/src/vanilla/java/cm/aptoide/pt/app/view/EditorialViewModel.java","position":67,"original_position":67,"commit_id":"92d882dd0b7e386caef9f1e1d188445101bd8d79","original_commit_id":"92d882dd0b7e386caef9f1e1d188445101bd8d79","user":{"login":"paquiquinho","id":11031767,"node_id":"MDQ6VXNlcjExMDMxNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/11031767?v=4","gravatar_id":"","url":"https://api.github.com/users/paquiquinho","html_url":"https://github.com/paquiquinho","followers_url":"https://api.github.com/users/paquiquinho/followers","following_url":"https://api.github.com/users/paquiquinho/following{/other_user}","gists_url":"https://api.github.com/users/paquiquinho/gists{/gist_id}","starred_url":"https://api.github.com/users/paquiquinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paquiquinho/subscriptions","organizations_url":"https://api.github.com/users/paquiquinho/orgs","repos_url":"https://api.github.com/users/paquiquinho/repos","events_url":"https://api.github.com/users/paquiquinho/events{/privacy}","received_events_url":"https://api.github.com/users/paquiquinho/received_events","type":"User","site_admin":false},"body":"This constructor is never used, do we really need it?","created_at":"2018-09-04T13:41:07Z","updated_at":"2018-09-04T13:41:08Z","html_url":"https://github.com/Aptoide/aptoide-client-v8/pull/690#discussion_r214917744","pull_request_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/comments/214917744"},"html":{"href":"https://github.com/Aptoide/aptoide-client-v8/pull/690#discussion_r214917744"},"pull_request":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690"}}},"pull_request":{"url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690","id":212920698,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyOTIwNjk4","html_url":"https://github.com/Aptoide/aptoide-client-v8/pull/690","diff_url":"https://github.com/Aptoide/aptoide-client-v8/pull/690.diff","patch_url":"https://github.com/Aptoide/aptoide-client-v8/pull/690.patch","issue_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/690","number":690,"state":"open","locked":false,"title":"[ASV-964] App of the week view","user":{"login":"JDSM01","id":30080580,"node_id":"MDQ6VXNlcjMwMDgwNTgw","avatar_url":"https://avatars2.githubusercontent.com/u/30080580?v=4","gravatar_id":"","url":"https://api.github.com/users/JDSM01","html_url":"https://github.com/JDSM01","followers_url":"https://api.github.com/users/JDSM01/followers","following_url":"https://api.github.com/users/JDSM01/following{/other_user}","gists_url":"https://api.github.com/users/JDSM01/gists{/gist_id}","starred_url":"https://api.github.com/users/JDSM01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDSM01/subscriptions","organizations_url":"https://api.github.com/users/JDSM01/orgs","repos_url":"https://api.github.com/users/JDSM01/repos","events_url":"https://api.github.com/users/JDSM01/events{/privacy}","received_events_url":"https://api.github.com/users/JDSM01/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\n\r\n   NOTE: DON'T ACCEPT THIS UNTIL 963 and 965 are merged with this branch (This will be removed when that happens)\r\n   Adds the App of the Week (Editorial). (All the requests need to display the view are made in this ticket also)\r\n  The collapsable toolbar, and color pick for the toolbar text and card will be done later in another ticket\r\n\r\n**Database changed?**\r\n\r\n   No\r\n\r\n**Where should the reviewer start?**\r\n\r\nEditorialFragment.java\r\n\r\n**How should this be manually tested?**\r\n\r\nGo to the view and check for layout errors. Monkey test with the view. Check if request are being done correctly\r\n\r\n**What are the relevant tickets?**\r\n\r\nhttps://aptoide.atlassian.net/browse/ASV-964\r\nhttps://aptoide.atlassian.net/browse/ASV-841\r\n\r\n\r\n**Code Review Checklist**\r\n\r\n- [ ] Architecture\r\n- [ ] Documentation on public interfaces\r\n- [ ] Database changed?\r\n- [ ] If yes - Database migration?\r\n- [ ] Remove comments & unused code & forgotten testing Logs\r\n- [ ] Codestyle\r\n- [ ] Partners build\r\n- [ ] Unit tests pass\r\n- [ ] Functional QA tests pass","created_at":"2018-09-04T10:01:21Z","updated_at":"2018-09-04T13:41:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c47741a5756dc200ee1c90faedd3fda6ea6fa56","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690/commits","review_comments_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690/comments","review_comment_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/690/comments","statuses_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/statuses/92d882dd0b7e386caef9f1e1d188445101bd8d79","head":{"label":"Aptoide:feature/ASV-964_App_of_the_week_view","ref":"feature/ASV-964_App_of_the_week_view","sha":"92d882dd0b7e386caef9f1e1d188445101bd8d79","user":{"login":"Aptoide","id":10279797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjc5Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/10279797?v=4","gravatar_id":"","url":"https://api.github.com/users/Aptoide","html_url":"https://github.com/Aptoide","followers_url":"https://api.github.com/users/Aptoide/followers","following_url":"https://api.github.com/users/Aptoide/following{/other_user}","gists_url":"https://api.github.com/users/Aptoide/gists{/gist_id}","starred_url":"https://api.github.com/users/Aptoide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aptoide/subscriptions","organizations_url":"https://api.github.com/users/Aptoide/orgs","repos_url":"https://api.github.com/users/Aptoide/repos","events_url":"https://api.github.com/users/Aptoide/events{/privacy}","received_events_url":"https://api.github.com/users/Aptoide/received_events","type":"Organization","site_admin":false},"repo":{"id":56278667,"node_id":"MDEwOlJlcG9zaXRvcnk1NjI3ODY2Nw==","name":"aptoide-client-v8","full_name":"Aptoide/aptoide-client-v8","owner":{"login":"Aptoide","id":10279797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjc5Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/10279797?v=4","gravatar_id":"","url":"https://api.github.com/users/Aptoide","html_url":"https://github.com/Aptoide","followers_url":"https://api.github.com/users/Aptoide/followers","following_url":"https://api.github.com/users/Aptoide/following{/other_user}","gists_url":"https://api.github.com/users/Aptoide/gists{/gist_id}","starred_url":"https://api.github.com/users/Aptoide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aptoide/subscriptions","organizations_url":"https://api.github.com/users/Aptoide/orgs","repos_url":"https://api.github.com/users/Aptoide/repos","events_url":"https://api.github.com/users/Aptoide/events{/privacy}","received_events_url":"https://api.github.com/users/Aptoide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Aptoide/aptoide-client-v8","description":"All the Apps you need. Discover your new Android App Store.","fork":false,"url":"https://api.github.com/repos/Aptoide/aptoide-client-v8","forks_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/forks","keys_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/teams","hooks_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/hooks","issue_events_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/events{/number}","events_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/events","assignees_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/assignees{/user}","branches_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/branches{/branch}","tags_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/tags","blobs_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/statuses/{sha}","languages_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/languages","stargazers_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/stargazers","contributors_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/contributors","subscribers_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/subscribers","subscription_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/subscription","commits_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/contents/{+path}","compare_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/merges","archive_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/downloads","issues_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues{/number}","pulls_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls{/number}","milestones_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/milestones{/number}","notifications_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/labels{/name}","releases_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/releases{/id}","deployments_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/deployments","created_at":"2016-04-15T00:32:20Z","updated_at":"2018-09-03T08:54:42Z","pushed_at":"2018-09-04T13:31:01Z","git_url":"git://github.com/Aptoide/aptoide-client-v8.git","ssh_url":"git@github.com:Aptoide/aptoide-client-v8.git","clone_url":"https://github.com/Aptoide/aptoide-client-v8.git","svn_url":"https://github.com/Aptoide/aptoide-client-v8","homepage":"http://en.aptoide.com","size":68169,"stargazers_count":57,"watchers_count":57,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":24,"open_issues":7,"watchers":57,"default_branch":"master"}},"base":{"label":"Aptoide:dev","ref":"dev","sha":"f074d2302d73f9dcb58ad7e383ceccfa3b679abc","user":{"login":"Aptoide","id":10279797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjc5Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/10279797?v=4","gravatar_id":"","url":"https://api.github.com/users/Aptoide","html_url":"https://github.com/Aptoide","followers_url":"https://api.github.com/users/Aptoide/followers","following_url":"https://api.github.com/users/Aptoide/following{/other_user}","gists_url":"https://api.github.com/users/Aptoide/gists{/gist_id}","starred_url":"https://api.github.com/users/Aptoide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aptoide/subscriptions","organizations_url":"https://api.github.com/users/Aptoide/orgs","repos_url":"https://api.github.com/users/Aptoide/repos","events_url":"https://api.github.com/users/Aptoide/events{/privacy}","received_events_url":"https://api.github.com/users/Aptoide/received_events","type":"Organization","site_admin":false},"repo":{"id":56278667,"node_id":"MDEwOlJlcG9zaXRvcnk1NjI3ODY2Nw==","name":"aptoide-client-v8","full_name":"Aptoide/aptoide-client-v8","owner":{"login":"Aptoide","id":10279797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjc5Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/10279797?v=4","gravatar_id":"","url":"https://api.github.com/users/Aptoide","html_url":"https://github.com/Aptoide","followers_url":"https://api.github.com/users/Aptoide/followers","following_url":"https://api.github.com/users/Aptoide/following{/other_user}","gists_url":"https://api.github.com/users/Aptoide/gists{/gist_id}","starred_url":"https://api.github.com/users/Aptoide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aptoide/subscriptions","organizations_url":"https://api.github.com/users/Aptoide/orgs","repos_url":"https://api.github.com/users/Aptoide/repos","events_url":"https://api.github.com/users/Aptoide/events{/privacy}","received_events_url":"https://api.github.com/users/Aptoide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Aptoide/aptoide-client-v8","description":"All the Apps you need. Discover your new Android App Store.","fork":false,"url":"https://api.github.com/repos/Aptoide/aptoide-client-v8","forks_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/forks","keys_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/teams","hooks_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/hooks","issue_events_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/events{/number}","events_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/events","assignees_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/assignees{/user}","branches_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/branches{/branch}","tags_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/tags","blobs_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/statuses/{sha}","languages_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/languages","stargazers_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/stargazers","contributors_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/contributors","subscribers_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/subscribers","subscription_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/subscription","commits_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/contents/{+path}","compare_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/merges","archive_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/downloads","issues_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues{/number}","pulls_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls{/number}","milestones_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/milestones{/number}","notifications_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/labels{/name}","releases_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/releases{/id}","deployments_url":"https://api.github.com/repos/Aptoide/aptoide-client-v8/deployments","created_at":"2016-04-15T00:32:20Z","updated_at":"2018-09-03T08:54:42Z","pushed_at":"2018-09-04T13:31:01Z","git_url":"git://github.com/Aptoide/aptoide-client-v8.git","ssh_url":"git@github.com:Aptoide/aptoide-client-v8.git","clone_url":"https://github.com/Aptoide/aptoide-client-v8.git","svn_url":"https://github.com/Aptoide/aptoide-client-v8","homepage":"http://en.aptoide.com","size":68169,"stargazers_count":57,"watchers_count":57,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":24,"open_issues":7,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690"},"html":{"href":"https://github.com/Aptoide/aptoide-client-v8/pull/690"},"issue":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/690"},"comments":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/issues/690/comments"},"review_comments":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690/comments"},"review_comment":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/pulls/690/commits"},"statuses":{"href":"https://api.github.com/repos/Aptoide/aptoide-client-v8/statuses/92d882dd0b7e386caef9f1e1d188445101bd8d79"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"paquiquinho"}}