{"action":"created","comment":{"url":"https://api.github.com/repos/whereuat/whereuat-android/pulls/comments/64154650","id":64154650,"diff_hunk":"@@ -0,0 +1,121 @@\n+package xyz.whereuat.whereuat;\n+\n+import android.app.FragmentManager;\n+import android.content.BroadcastReceiver;\n+import android.content.Context;\n+import android.content.Intent;\n+import android.content.IntentFilter;\n+import android.database.Cursor;\n+import android.os.Bundle;\n+import android.support.v4.app.LoaderManager;\n+import android.support.v4.content.CursorLoader;\n+import android.support.v4.content.Loader;\n+import android.support.v4.content.LocalBroadcastManager;\n+import android.view.View;\n+import android.widget.ListView;\n+\n+import com.github.clans.fab.FloatingActionMenu;\n+\n+import xyz.whereuat.whereuat.db.entry.KeyLocationEntry;\n+import xyz.whereuat.whereuat.ui.adapters.KeyLocationAdapter;\n+import xyz.whereuat.whereuat.ui.views.KeyLocDialogFragment;\n+import xyz.whereuat.whereuat.utils.KeyLocationUtils;\n+\n+/**\n+ * This class manages the activity for displaying and interacting with key locations.\n+ */\n+public class KeyLocationActivity extends DrawerActivity implements\n+        LoaderManager.LoaderCallbacks<Cursor> {\n+    private static final String TAG = \"KeyLocationActivity\";\n+    private KeyLocationAdapter mAdapter;\n+    private FloatingActionMenu mMenu;\n+    private ReloadKeyLocsReceiver mReloadKeyLocsReceiver;\n+    private IntentFilter mReloadKeyLocsFilter;\n+\n+    @Override\n+    public void onCreate(Bundle saved_instance_state) {\n+        super.onCreate(saved_instance_state);\n+        setContentView(R.layout.activity_key_locs);\n+\n+        mMenu = (FloatingActionMenu) findViewById(R.id.menu);\n+        mAdapter = new KeyLocationAdapter(this);\n+        ((ListView) findViewById(R.id.key_locs_list)).setAdapter(mAdapter);\n+\n+        getSupportLoaderManager().initLoader(0, null, this);\n+        initDrawer(\"Key Locations\");","path":"app/src/main/java/xyz/whereuat/whereuat/KeyLocationActivity.java","position":45,"original_position":45,"commit_id":"48e0514ca29edd02524be66cb5bb51d23af3e3a8","original_commit_id":"48e0514ca29edd02524be66cb5bb51d23af3e3a8","user":{"login":"JuliusAlexanderIV","id":3769435,"avatar_url":"https://avatars.githubusercontent.com/u/3769435?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliusAlexanderIV","html_url":"https://github.com/JuliusAlexanderIV","followers_url":"https://api.github.com/users/JuliusAlexanderIV/followers","following_url":"https://api.github.com/users/JuliusAlexanderIV/following{/other_user}","gists_url":"https://api.github.com/users/JuliusAlexanderIV/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliusAlexanderIV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliusAlexanderIV/subscriptions","organizations_url":"https://api.github.com/users/JuliusAlexanderIV/orgs","repos_url":"https://api.github.com/users/JuliusAlexanderIV/repos","events_url":"https://api.github.com/users/JuliusAlexanderIV/events{/privacy}","received_events_url":"https://api.github.com/users/JuliusAlexanderIV/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-05-22T19:11:54Z","updated_at":"2016-05-22T19:11:54Z","html_url":"https://github.com/whereuat/whereuat-android/pull/177#discussion_r64154650","pull_request_url":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177","_links":{"self":{"href":"https://api.github.com/repos/whereuat/whereuat-android/pulls/comments/64154650"},"html":{"href":"https://github.com/whereuat/whereuat-android/pull/177#discussion_r64154650"},"pull_request":{"href":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177","id":70964809,"html_url":"https://github.com/whereuat/whereuat-android/pull/177","diff_url":"https://github.com/whereuat/whereuat-android/pull/177.diff","patch_url":"https://github.com/whereuat/whereuat-android/pull/177.patch","issue_url":"https://api.github.com/repos/whereuat/whereuat-android/issues/177","number":177,"state":"open","locked":false,"title":"AND #159 Implement key location editing page.","user":{"login":"JuliusAlexanderIV","id":3769435,"avatar_url":"https://avatars.githubusercontent.com/u/3769435?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliusAlexanderIV","html_url":"https://github.com/JuliusAlexanderIV","followers_url":"https://api.github.com/users/JuliusAlexanderIV/followers","following_url":"https://api.github.com/users/JuliusAlexanderIV/following{/other_user}","gists_url":"https://api.github.com/users/JuliusAlexanderIV/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliusAlexanderIV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliusAlexanderIV/subscriptions","organizations_url":"https://api.github.com/users/JuliusAlexanderIV/orgs","repos_url":"https://api.github.com/users/JuliusAlexanderIV/repos","events_url":"https://api.github.com/users/JuliusAlexanderIV/events{/privacy}","received_events_url":"https://api.github.com/users/JuliusAlexanderIV/received_events","type":"User","site_admin":false},"body":"closes #159 ","created_at":"2016-05-22T01:03:08Z","updated_at":"2016-05-22T19:11:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae7ad80c40b82da242d8d74634f195c4e4016c6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177/commits","review_comments_url":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177/comments","review_comment_url":"https://api.github.com/repos/whereuat/whereuat-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whereuat/whereuat-android/issues/177/comments","statuses_url":"https://api.github.com/repos/whereuat/whereuat-android/statuses/48e0514ca29edd02524be66cb5bb51d23af3e3a8","head":{"label":"whereuat:key-location-editing","ref":"key-location-editing","sha":"48e0514ca29edd02524be66cb5bb51d23af3e3a8","user":{"login":"whereuat","id":17060365,"avatar_url":"https://avatars.githubusercontent.com/u/17060365?v=3","gravatar_id":"","url":"https://api.github.com/users/whereuat","html_url":"https://github.com/whereuat","followers_url":"https://api.github.com/users/whereuat/followers","following_url":"https://api.github.com/users/whereuat/following{/other_user}","gists_url":"https://api.github.com/users/whereuat/gists{/gist_id}","starred_url":"https://api.github.com/users/whereuat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whereuat/subscriptions","organizations_url":"https://api.github.com/users/whereuat/orgs","repos_url":"https://api.github.com/users/whereuat/repos","events_url":"https://api.github.com/users/whereuat/events{/privacy}","received_events_url":"https://api.github.com/users/whereuat/received_events","type":"Organization","site_admin":false},"repo":{"id":51057959,"name":"whereuat-android","full_name":"whereuat/whereuat-android","owner":{"login":"whereuat","id":17060365,"avatar_url":"https://avatars.githubusercontent.com/u/17060365?v=3","gravatar_id":"","url":"https://api.github.com/users/whereuat","html_url":"https://github.com/whereuat","followers_url":"https://api.github.com/users/whereuat/followers","following_url":"https://api.github.com/users/whereuat/following{/other_user}","gists_url":"https://api.github.com/users/whereuat/gists{/gist_id}","starred_url":"https://api.github.com/users/whereuat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whereuat/subscriptions","organizations_url":"https://api.github.com/users/whereuat/orgs","repos_url":"https://api.github.com/users/whereuat/repos","events_url":"https://api.github.com/users/whereuat/events{/privacy}","received_events_url":"https://api.github.com/users/whereuat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whereuat/whereuat-android","description":"The Android app for whereu@.","fork":false,"url":"https://api.github.com/repos/whereuat/whereuat-android","forks_url":"https://api.github.com/repos/whereuat/whereuat-android/forks","keys_url":"https://api.github.com/repos/whereuat/whereuat-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whereuat/whereuat-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whereuat/whereuat-android/teams","hooks_url":"https://api.github.com/repos/whereuat/whereuat-android/hooks","issue_events_url":"https://api.github.com/repos/whereuat/whereuat-android/issues/events{/number}","events_url":"https://api.github.com/repos/whereuat/whereuat-android/events","assignees_url":"https://api.github.com/repos/whereuat/whereuat-android/assignees{/user}","branches_url":"https://api.github.com/repos/whereuat/whereuat-android/branches{/branch}","tags_url":"https://api.github.com/repos/whereuat/whereuat-android/tags","blobs_url":"https://api.github.com/repos/whereuat/whereuat-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whereuat/whereuat-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whereuat/whereuat-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/whereuat/whereuat-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whereuat/whereuat-android/statuses/{sha}","languages_url":"https://api.github.com/repos/whereuat/whereuat-android/languages","stargazers_url":"https://api.github.com/repos/whereuat/whereuat-android/stargazers","contributors_url":"https://api.github.com/repos/whereuat/whereuat-android/contributors","subscribers_url":"https://api.github.com/repos/whereuat/whereuat-android/subscribers","subscription_url":"https://api.github.com/repos/whereuat/whereuat-android/subscription","commits_url":"https://api.github.com/repos/whereuat/whereuat-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/whereuat/whereuat-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/whereuat/whereuat-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/whereuat/whereuat-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/whereuat/whereuat-android/contents/{+path}","compare_url":"https://api.github.com/repos/whereuat/whereuat-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whereuat/whereuat-android/merges","archive_url":"https://api.github.com/repos/whereuat/whereuat-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whereuat/whereuat-android/downloads","issues_url":"https://api.github.com/repos/whereuat/whereuat-android/issues{/number}","pulls_url":"https://api.github.com/repos/whereuat/whereuat-android/pulls{/number}","milestones_url":"https://api.github.com/repos/whereuat/whereuat-android/milestones{/number}","notifications_url":"https://api.github.com/repos/whereuat/whereuat-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whereuat/whereuat-android/labels{/name}","releases_url":"https://api.github.com/repos/whereuat/whereuat-android/releases{/id}","deployments_url":"https://api.github.com/repos/whereuat/whereuat-android/deployments","created_at":"2016-02-04T06:51:58Z","updated_at":"2016-02-22T05:41:40Z","pushed_at":"2016-05-22T08:37:07Z","git_url":"git://github.com/whereuat/whereuat-android.git","ssh_url":"git@github.com:whereuat/whereuat-android.git","clone_url":"https://github.com/whereuat/whereuat-android.git","svn_url":"https://github.com/whereuat/whereuat-android","homepage":null,"size":7027,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":1,"default_branch":"master"}},"base":{"label":"whereuat:master","ref":"master","sha":"8b2ee9ce0ce4d25d4239b78113b998d747489891","user":{"login":"whereuat","id":17060365,"avatar_url":"https://avatars.githubusercontent.com/u/17060365?v=3","gravatar_id":"","url":"https://api.github.com/users/whereuat","html_url":"https://github.com/whereuat","followers_url":"https://api.github.com/users/whereuat/followers","following_url":"https://api.github.com/users/whereuat/following{/other_user}","gists_url":"https://api.github.com/users/whereuat/gists{/gist_id}","starred_url":"https://api.github.com/users/whereuat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whereuat/subscriptions","organizations_url":"https://api.github.com/users/whereuat/orgs","repos_url":"https://api.github.com/users/whereuat/repos","events_url":"https://api.github.com/users/whereuat/events{/privacy}","received_events_url":"https://api.github.com/users/whereuat/received_events","type":"Organization","site_admin":false},"repo":{"id":51057959,"name":"whereuat-android","full_name":"whereuat/whereuat-android","owner":{"login":"whereuat","id":17060365,"avatar_url":"https://avatars.githubusercontent.com/u/17060365?v=3","gravatar_id":"","url":"https://api.github.com/users/whereuat","html_url":"https://github.com/whereuat","followers_url":"https://api.github.com/users/whereuat/followers","following_url":"https://api.github.com/users/whereuat/following{/other_user}","gists_url":"https://api.github.com/users/whereuat/gists{/gist_id}","starred_url":"https://api.github.com/users/whereuat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whereuat/subscriptions","organizations_url":"https://api.github.com/users/whereuat/orgs","repos_url":"https://api.github.com/users/whereuat/repos","events_url":"https://api.github.com/users/whereuat/events{/privacy}","received_events_url":"https://api.github.com/users/whereuat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whereuat/whereuat-android","description":"The Android app for whereu@.","fork":false,"url":"https://api.github.com/repos/whereuat/whereuat-android","forks_url":"https://api.github.com/repos/whereuat/whereuat-android/forks","keys_url":"https://api.github.com/repos/whereuat/whereuat-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whereuat/whereuat-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whereuat/whereuat-android/teams","hooks_url":"https://api.github.com/repos/whereuat/whereuat-android/hooks","issue_events_url":"https://api.github.com/repos/whereuat/whereuat-android/issues/events{/number}","events_url":"https://api.github.com/repos/whereuat/whereuat-android/events","assignees_url":"https://api.github.com/repos/whereuat/whereuat-android/assignees{/user}","branches_url":"https://api.github.com/repos/whereuat/whereuat-android/branches{/branch}","tags_url":"https://api.github.com/repos/whereuat/whereuat-android/tags","blobs_url":"https://api.github.com/repos/whereuat/whereuat-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whereuat/whereuat-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whereuat/whereuat-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/whereuat/whereuat-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whereuat/whereuat-android/statuses/{sha}","languages_url":"https://api.github.com/repos/whereuat/whereuat-android/languages","stargazers_url":"https://api.github.com/repos/whereuat/whereuat-android/stargazers","contributors_url":"https://api.github.com/repos/whereuat/whereuat-android/contributors","subscribers_url":"https://api.github.com/repos/whereuat/whereuat-android/subscribers","subscription_url":"https://api.github.com/repos/whereuat/whereuat-android/subscription","commits_url":"https://api.github.com/repos/whereuat/whereuat-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/whereuat/whereuat-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/whereuat/whereuat-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/whereuat/whereuat-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/whereuat/whereuat-android/contents/{+path}","compare_url":"https://api.github.com/repos/whereuat/whereuat-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whereuat/whereuat-android/merges","archive_url":"https://api.github.com/repos/whereuat/whereuat-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whereuat/whereuat-android/downloads","issues_url":"https://api.github.com/repos/whereuat/whereuat-android/issues{/number}","pulls_url":"https://api.github.com/repos/whereuat/whereuat-android/pulls{/number}","milestones_url":"https://api.github.com/repos/whereuat/whereuat-android/milestones{/number}","notifications_url":"https://api.github.com/repos/whereuat/whereuat-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whereuat/whereuat-android/labels{/name}","releases_url":"https://api.github.com/repos/whereuat/whereuat-android/releases{/id}","deployments_url":"https://api.github.com/repos/whereuat/whereuat-android/deployments","created_at":"2016-02-04T06:51:58Z","updated_at":"2016-02-22T05:41:40Z","pushed_at":"2016-05-22T08:37:07Z","git_url":"git://github.com/whereuat/whereuat-android.git","ssh_url":"git@github.com:whereuat/whereuat-android.git","clone_url":"https://github.com/whereuat/whereuat-android.git","svn_url":"https://github.com/whereuat/whereuat-android","homepage":null,"size":7027,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177"},"html":{"href":"https://github.com/whereuat/whereuat-android/pull/177"},"issue":{"href":"https://api.github.com/repos/whereuat/whereuat-android/issues/177"},"comments":{"href":"https://api.github.com/repos/whereuat/whereuat-android/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/whereuat/whereuat-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whereuat/whereuat-android/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/whereuat/whereuat-android/statuses/48e0514ca29edd02524be66cb5bb51d23af3e3a8"}}}}
{"actor":{"display_login":"JuliusAlexanderIV"}}