{"action":"opened","issue":{"url":"https://api.github.com/repos/anda5/RssReader/issues/106","labels_url":"https://api.github.com/repos/anda5/RssReader/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/anda5/RssReader/issues/106/comments","events_url":"https://api.github.com/repos/anda5/RssReader/issues/106/events","html_url":"https://github.com/anda5/RssReader/issues/106","id":68668019,"number":106,"title":"MainActivityAdapter onClick logic","user":{"login":"Predator7","id":8753447,"avatar_url":"https://avatars.githubusercontent.com/u/8753447?v=3","gravatar_id":"","url":"https://api.github.com/users/Predator7","html_url":"https://github.com/Predator7","followers_url":"https://api.github.com/users/Predator7/followers","following_url":"https://api.github.com/users/Predator7/following{/other_user}","gists_url":"https://api.github.com/users/Predator7/gists{/gist_id}","starred_url":"https://api.github.com/users/Predator7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Predator7/subscriptions","organizations_url":"https://api.github.com/users/Predator7/orgs","repos_url":"https://api.github.com/users/Predator7/repos","events_url":"https://api.github.com/users/Predator7/events{/privacy}","received_events_url":"https://api.github.com/users/Predator7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-15T12:27:10Z","updated_at":"2015-04-15T12:27:10Z","closed_at":null,"body":"So now that we have the list running and a `FeedActivity` blueprint, it's time to create the adapter's `onClick` logic (which we left a *TODO* message there)\r\n\r\n- create a new `Intent` to the `FeedActivity` class and pass in the `context` variable\r\n- use the intent's `putExtra()` property and pass in the ID of the site that the user clicked (use `getPosition()` to get the index of the object that the user clicked)\r\n- set the intent's flag to `FLAG_ACTIVITY_NEW_TASK` so that the activity can be started from a non-activity class\r\n- use the context variable and `startActivity()` passing the intent\r\n"}}