{"action":"created","comment":{"url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/comments/65676424","id":65676424,"diff_hunk":"@@ -0,0 +1,74 @@\n+package net.pubnative.mediation.demo.activities;\n+\n+import android.os.Bundle;\n+import android.util.Log;\n+import android.view.View;\n+import android.widget.RelativeLayout;\n+\n+import net.pubnative.mediation.demo.R;\n+import net.pubnative.mediation.demo.Settings;\n+import net.pubnative.mediation.request.PubnativeNetworkFeedBanner;\n+\n+public class FeedBannerActivity extends StandardAdUnitActivity implements PubnativeNetworkFeedBanner.Listener {\n+\n+    private static final String TAG = FeedBannerActivity.class.getSimpleName();\n+    private RelativeLayout mFeedBannerView;\n+    private PubnativeNetworkFeedBanner mFeedBanner;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        getLayoutInflater().inflate(R.layout.layout_infeed_banner, mBlankContainer);\n+        mFeedBannerView = (RelativeLayout) findViewById(R.id.infeed_banner_container);\n+    }\n+\n+    public void onRequestClick(View v) {\n+\n+        Log.v(TAG, \"onRequestClick\");\n+        mLoaderContainer.setVisibility(View.VISIBLE);\n+        mFeedBanner = new PubnativeNetworkFeedBanner();\n+        mFeedBanner.setListener(this);\n+        mFeedBanner.load(this, Settings.getAppToken(this), mPlacementSpinner.getSelectedItem().toString());\n+    }\n+\n+    //==============================================================================================\n+    // Callbacks\n+    //==============================================================================================\n+    // PubnativeNetworkFeedBanner.Listener\n+    //----------------------------------------------------------------------------------------------\n+    @Override\n+    public void onPubnativeNetworkFeedBannerLoadFinish(PubnativeNetworkFeedBanner feedBanner) {\n+        Log.v(TAG, \"onPubnativeNetworkFeedBannerLoadFinish\");\n+        mLoaderContainer.setVisibility(View.GONE);","path":"mediation.demo/src/main/java/net/pubnative/mediation/demo/activities/FeedBannerActivity.java","position":42,"original_position":42,"commit_id":"286b80d6928c5a4fa8ed8981f340d7aa27789e51","original_commit_id":"b906d73f7253110cfb1e9b93426be88961f099ca","user":{"login":"anshumansworld","id":1582526,"avatar_url":"https://avatars.githubusercontent.com/u/1582526?v=3","gravatar_id":"","url":"https://api.github.com/users/anshumansworld","html_url":"https://github.com/anshumansworld","followers_url":"https://api.github.com/users/anshumansworld/followers","following_url":"https://api.github.com/users/anshumansworld/following{/other_user}","gists_url":"https://api.github.com/users/anshumansworld/gists{/gist_id}","starred_url":"https://api.github.com/users/anshumansworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshumansworld/subscriptions","organizations_url":"https://api.github.com/users/anshumansworld/orgs","repos_url":"https://api.github.com/users/anshumansworld/repos","events_url":"https://api.github.com/users/anshumansworld/events{/privacy}","received_events_url":"https://api.github.com/users/anshumansworld/received_events","type":"User","site_admin":false},"body":"this loader is being shown when request starts and hide when response is being received through callbacks either `onPubnativeNetworkFeedBannerLoadFinish` or `onPubnativeNetworkFeedBannerLoadFail`","created_at":"2016-06-03T08:58:55Z","updated_at":"2016-06-03T08:58:55Z","html_url":"https://github.com/pubnative/pubnative-android-mediation-sdk/pull/125#discussion_r65676424","pull_request_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125","_links":{"self":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/comments/65676424"},"html":{"href":"https://github.com/pubnative/pubnative-android-mediation-sdk/pull/125#discussion_r65676424"},"pull_request":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125","id":72158834,"html_url":"https://github.com/pubnative/pubnative-android-mediation-sdk/pull/125","diff_url":"https://github.com/pubnative/pubnative-android-mediation-sdk/pull/125.diff","patch_url":"https://github.com/pubnative/pubnative-android-mediation-sdk/pull/125.patch","issue_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/125","number":125,"state":"open","locked":false,"title":"In feed banner","user":{"login":"anshumansworld","id":1582526,"avatar_url":"https://avatars.githubusercontent.com/u/1582526?v=3","gravatar_id":"","url":"https://api.github.com/users/anshumansworld","html_url":"https://github.com/anshumansworld","followers_url":"https://api.github.com/users/anshumansworld/followers","following_url":"https://api.github.com/users/anshumansworld/following{/other_user}","gists_url":"https://api.github.com/users/anshumansworld/gists{/gist_id}","starred_url":"https://api.github.com/users/anshumansworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshumansworld/subscriptions","organizations_url":"https://api.github.com/users/anshumansworld/orgs","repos_url":"https://api.github.com/users/anshumansworld/repos","events_url":"https://api.github.com/users/anshumansworld/events{/privacy}","received_events_url":"https://api.github.com/users/anshumansworld/received_events","type":"User","site_admin":false},"body":"This include adding feature of feed banners for different networks like pubnative, facebook & yahoo","created_at":"2016-06-01T10:43:24Z","updated_at":"2016-06-03T08:58:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3606be8a7b0083584a3a98f7a99dd6367c5b84b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125/commits","review_comments_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125/comments","review_comment_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/125/comments","statuses_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/statuses/286b80d6928c5a4fa8ed8981f340d7aa27789e51","head":{"label":"pubnative:in-feed-banner","ref":"in-feed-banner","sha":"286b80d6928c5a4fa8ed8981f340d7aa27789e51","user":{"login":"pubnative","id":7806659,"avatar_url":"https://avatars.githubusercontent.com/u/7806659?v=3","gravatar_id":"","url":"https://api.github.com/users/pubnative","html_url":"https://github.com/pubnative","followers_url":"https://api.github.com/users/pubnative/followers","following_url":"https://api.github.com/users/pubnative/following{/other_user}","gists_url":"https://api.github.com/users/pubnative/gists{/gist_id}","starred_url":"https://api.github.com/users/pubnative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubnative/subscriptions","organizations_url":"https://api.github.com/users/pubnative/orgs","repos_url":"https://api.github.com/users/pubnative/repos","events_url":"https://api.github.com/users/pubnative/events{/privacy}","received_events_url":"https://api.github.com/users/pubnative/received_events","type":"Organization","site_admin":false},"repo":{"id":39569566,"name":"pubnative-android-mediation-sdk","full_name":"pubnative/pubnative-android-mediation-sdk","owner":{"login":"pubnative","id":7806659,"avatar_url":"https://avatars.githubusercontent.com/u/7806659?v=3","gravatar_id":"","url":"https://api.github.com/users/pubnative","html_url":"https://github.com/pubnative","followers_url":"https://api.github.com/users/pubnative/followers","following_url":"https://api.github.com/users/pubnative/following{/other_user}","gists_url":"https://api.github.com/users/pubnative/gists{/gist_id}","starred_url":"https://api.github.com/users/pubnative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubnative/subscriptions","organizations_url":"https://api.github.com/users/pubnative/orgs","repos_url":"https://api.github.com/users/pubnative/repos","events_url":"https://api.github.com/users/pubnative/events{/privacy}","received_events_url":"https://api.github.com/users/pubnative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pubnative/pubnative-android-mediation-sdk","description":"","fork":false,"url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk","forks_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/forks","keys_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/teams","hooks_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/hooks","issue_events_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/events","assignees_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/tags","blobs_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/languages","stargazers_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/stargazers","contributors_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/contributors","subscribers_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/subscribers","subscription_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/subscription","commits_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/merges","archive_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/downloads","issues_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/labels{/name}","releases_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/deployments","created_at":"2015-07-23T13:40:39Z","updated_at":"2016-03-10T16:11:23Z","pushed_at":"2016-06-03T08:28:14Z","git_url":"git://github.com/pubnative/pubnative-android-mediation-sdk.git","ssh_url":"git@github.com:pubnative/pubnative-android-mediation-sdk.git","clone_url":"https://github.com/pubnative/pubnative-android-mediation-sdk.git","svn_url":"https://github.com/pubnative/pubnative-android-mediation-sdk","homepage":null,"size":3893,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"pubnative:development","ref":"development","sha":"acde74ca17db98d9cd7e993bec9ff02e9eb432b2","user":{"login":"pubnative","id":7806659,"avatar_url":"https://avatars.githubusercontent.com/u/7806659?v=3","gravatar_id":"","url":"https://api.github.com/users/pubnative","html_url":"https://github.com/pubnative","followers_url":"https://api.github.com/users/pubnative/followers","following_url":"https://api.github.com/users/pubnative/following{/other_user}","gists_url":"https://api.github.com/users/pubnative/gists{/gist_id}","starred_url":"https://api.github.com/users/pubnative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubnative/subscriptions","organizations_url":"https://api.github.com/users/pubnative/orgs","repos_url":"https://api.github.com/users/pubnative/repos","events_url":"https://api.github.com/users/pubnative/events{/privacy}","received_events_url":"https://api.github.com/users/pubnative/received_events","type":"Organization","site_admin":false},"repo":{"id":39569566,"name":"pubnative-android-mediation-sdk","full_name":"pubnative/pubnative-android-mediation-sdk","owner":{"login":"pubnative","id":7806659,"avatar_url":"https://avatars.githubusercontent.com/u/7806659?v=3","gravatar_id":"","url":"https://api.github.com/users/pubnative","html_url":"https://github.com/pubnative","followers_url":"https://api.github.com/users/pubnative/followers","following_url":"https://api.github.com/users/pubnative/following{/other_user}","gists_url":"https://api.github.com/users/pubnative/gists{/gist_id}","starred_url":"https://api.github.com/users/pubnative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubnative/subscriptions","organizations_url":"https://api.github.com/users/pubnative/orgs","repos_url":"https://api.github.com/users/pubnative/repos","events_url":"https://api.github.com/users/pubnative/events{/privacy}","received_events_url":"https://api.github.com/users/pubnative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pubnative/pubnative-android-mediation-sdk","description":"","fork":false,"url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk","forks_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/forks","keys_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/teams","hooks_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/hooks","issue_events_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/events","assignees_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/tags","blobs_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/languages","stargazers_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/stargazers","contributors_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/contributors","subscribers_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/subscribers","subscription_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/subscription","commits_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/merges","archive_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/downloads","issues_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/labels{/name}","releases_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/deployments","created_at":"2015-07-23T13:40:39Z","updated_at":"2016-03-10T16:11:23Z","pushed_at":"2016-06-03T08:28:14Z","git_url":"git://github.com/pubnative/pubnative-android-mediation-sdk.git","ssh_url":"git@github.com:pubnative/pubnative-android-mediation-sdk.git","clone_url":"https://github.com/pubnative/pubnative-android-mediation-sdk.git","svn_url":"https://github.com/pubnative/pubnative-android-mediation-sdk","homepage":null,"size":3893,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125"},"html":{"href":"https://github.com/pubnative/pubnative-android-mediation-sdk/pull/125"},"issue":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/125"},"comments":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/pubnative/pubnative-android-mediation-sdk/statuses/286b80d6928c5a4fa8ed8981f340d7aa27789e51"}}}}
{"actor":{"display_login":"anshumansworld"}}