{"action":"created","comment":{"url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/comments/158964144","pull_request_review_id":85843386,"id":158964144,"diff_hunk":"@@ -59,9 +69,22 @@ static ComponentLayout onCreateLayout(\n         List<Component<?>> components = new ArrayList<>();\n \n         int index = 0;\n+        final int lastIndex = journey.getSections().size() - 1;\n         for (Section section : journey.getSections()) {\n-            if (Arrays.asList( \"street_network\", \"public_transport\", \"transfer\").contains(section.getType())) {\n-                SectionComponent.Builder sectionComponentBuilder = SectionComponent.create(c)\n+            if (index == 0) {\n+                components.add(\n+                    PlaceStepComponent.create(c)\n+                        .styles(originSectionStyles)\n+                        .datetime(\"20171207T114800\")\n+                        .placeType(\"Departure :\")","path":"navitiasdkux/src/main/java/org/kisio/NavitiaSDKUX/Screens/JourneySolutionRoadmapScreenSpec.java","position":58,"original_position":58,"commit_id":"a4634eef82c63da307bceae8b2ed3b488a503e52","original_commit_id":"a4634eef82c63da307bceae8b2ed3b488a503e52","user":{"login":"RachikAbidi","id":33457873,"avatar_url":"https://avatars2.githubusercontent.com/u/33457873?v=4","gravatar_id":"","url":"https://api.github.com/users/RachikAbidi","html_url":"https://github.com/RachikAbidi","followers_url":"https://api.github.com/users/RachikAbidi/followers","following_url":"https://api.github.com/users/RachikAbidi/following{/other_user}","gists_url":"https://api.github.com/users/RachikAbidi/gists{/gist_id}","starred_url":"https://api.github.com/users/RachikAbidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RachikAbidi/subscriptions","organizations_url":"https://api.github.com/users/RachikAbidi/orgs","repos_url":"https://api.github.com/users/RachikAbidi/repos","events_url":"https://api.github.com/users/RachikAbidi/events{/privacy}","received_events_url":"https://api.github.com/users/RachikAbidi/received_events","type":"User","site_admin":false},"body":"Please use a localized string, no a static value","created_at":"2017-12-28T16:06:21Z","updated_at":"2017-12-28T16:06:21Z","html_url":"https://github.com/CanalTP/NavitiaSDKUX_android/pull/39#discussion_r158964144","pull_request_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/comments/158964144"},"html":{"href":"https://github.com/CanalTP/NavitiaSDKUX_android/pull/39#discussion_r158964144"},"pull_request":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39","id":160393566,"html_url":"https://github.com/CanalTP/NavitiaSDKUX_android/pull/39","diff_url":"https://github.com/CanalTP/NavitiaSDKUX_android/pull/39.diff","patch_url":"https://github.com/CanalTP/NavitiaSDKUX_android/pull/39.patch","issue_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/39","number":39,"state":"open","locked":false,"title":"Refacto ergo fdr","user":{"login":"ooga","id":3911114,"avatar_url":"https://avatars0.githubusercontent.com/u/3911114?v=4","gravatar_id":"","url":"https://api.github.com/users/ooga","html_url":"https://github.com/ooga","followers_url":"https://api.github.com/users/ooga/followers","following_url":"https://api.github.com/users/ooga/following{/other_user}","gists_url":"https://api.github.com/users/ooga/gists{/gist_id}","starred_url":"https://api.github.com/users/ooga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ooga/subscriptions","organizations_url":"https://api.github.com/users/ooga/orgs","repos_url":"https://api.github.com/users/ooga/repos","events_url":"https://api.github.com/users/ooga/events{/privacy}","received_events_url":"https://api.github.com/users/ooga/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-28T14:09:25Z","updated_at":"2017-12-28T16:06:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d165c55e190cc7525fb2bde9199e863e7d29a0b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39/commits","review_comments_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39/comments","review_comment_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/39/comments","statuses_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/statuses/a4634eef82c63da307bceae8b2ed3b488a503e52","head":{"label":"CanalTP:refacto-ergo-fdr","ref":"refacto-ergo-fdr","sha":"a4634eef82c63da307bceae8b2ed3b488a503e52","user":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars2.githubusercontent.com/u/2743985?v=4","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"repo":{"id":101414287,"name":"NavitiaSDKUX_android","full_name":"CanalTP/NavitiaSDKUX_android","owner":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars2.githubusercontent.com/u/2743985?v=4","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CanalTP/NavitiaSDKUX_android","description":"An Android module you can use in your app to offer cool transport stuff to your users","fork":false,"url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android","forks_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/forks","keys_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/teams","hooks_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/hooks","issue_events_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/events{/number}","events_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/events","assignees_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/assignees{/user}","branches_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/branches{/branch}","tags_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/tags","blobs_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/refs{/sha}","trees_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/statuses/{sha}","languages_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/languages","stargazers_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/stargazers","contributors_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/contributors","subscribers_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/subscribers","subscription_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/subscription","commits_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/commits{/sha}","git_commits_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/commits{/sha}","comments_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/comments{/number}","issue_comment_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/comments{/number}","contents_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/contents/{+path}","compare_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/merges","archive_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/downloads","issues_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues{/number}","pulls_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls{/number}","milestones_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/milestones{/number}","notifications_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/labels{/name}","releases_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/releases{/id}","deployments_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/deployments","created_at":"2017-08-25T14:53:22Z","updated_at":"2017-10-18T17:12:02Z","pushed_at":"2017-12-28T14:09:25Z","git_url":"git://github.com/CanalTP/NavitiaSDKUX_android.git","ssh_url":"git@github.com:CanalTP/NavitiaSDKUX_android.git","clone_url":"https://github.com/CanalTP/NavitiaSDKUX_android.git","svn_url":"https://github.com/CanalTP/NavitiaSDKUX_android","homepage":"","size":3548,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"CanalTP:master","ref":"master","sha":"ac127594582bf11ea9cb51c0ff6b6ff4be11df9a","user":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars2.githubusercontent.com/u/2743985?v=4","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"repo":{"id":101414287,"name":"NavitiaSDKUX_android","full_name":"CanalTP/NavitiaSDKUX_android","owner":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars2.githubusercontent.com/u/2743985?v=4","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CanalTP/NavitiaSDKUX_android","description":"An Android module you can use in your app to offer cool transport stuff to your users","fork":false,"url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android","forks_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/forks","keys_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/teams","hooks_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/hooks","issue_events_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/events{/number}","events_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/events","assignees_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/assignees{/user}","branches_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/branches{/branch}","tags_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/tags","blobs_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/refs{/sha}","trees_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/statuses/{sha}","languages_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/languages","stargazers_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/stargazers","contributors_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/contributors","subscribers_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/subscribers","subscription_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/subscription","commits_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/commits{/sha}","git_commits_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/git/commits{/sha}","comments_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/comments{/number}","issue_comment_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/comments{/number}","contents_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/contents/{+path}","compare_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/merges","archive_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/downloads","issues_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues{/number}","pulls_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls{/number}","milestones_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/milestones{/number}","notifications_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/labels{/name}","releases_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/releases{/id}","deployments_url":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/deployments","created_at":"2017-08-25T14:53:22Z","updated_at":"2017-10-18T17:12:02Z","pushed_at":"2017-12-28T14:09:25Z","git_url":"git://github.com/CanalTP/NavitiaSDKUX_android.git","ssh_url":"git@github.com:CanalTP/NavitiaSDKUX_android.git","clone_url":"https://github.com/CanalTP/NavitiaSDKUX_android.git","svn_url":"https://github.com/CanalTP/NavitiaSDKUX_android","homepage":"","size":3548,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39"},"html":{"href":"https://github.com/CanalTP/NavitiaSDKUX_android/pull/39"},"issue":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/39"},"comments":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/CanalTP/NavitiaSDKUX_android/statuses/a4634eef82c63da307bceae8b2ed3b488a503e52"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"RachikAbidi"}}