{"action":"created","comment":{"url":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/comments/91047046","pull_request_review_id":11556876,"id":91047046,"diff_hunk":"@@ -0,0 +1,425 @@\n+package ru.ifmo.servicedemoapplication;\n+\n+import android.app.NotificationManager;\n+import android.app.WallpaperManager;\n+import android.content.BroadcastReceiver;\n+import android.content.DialogInterface;\n+import android.content.Intent;\n+import android.content.IntentFilter;\n+import android.graphics.Bitmap;\n+import android.graphics.BitmapFactory;\n+import android.net.ConnectivityManager;\n+import android.net.Uri;\n+import android.os.AsyncTask;\n+import android.os.Bundle;\n+import android.os.Handler;\n+import android.support.design.widget.FloatingActionButton;\n+import android.support.v7.app.AlertDialog;\n+import android.support.v7.app.AppCompatActivity;\n+import android.util.Log;\n+import android.view.Menu;\n+import android.view.MenuItem;\n+import android.view.View;\n+import android.widget.Button;\n+import android.widget.ImageView;\n+import android.widget.TextView;\n+import android.widget.Toast;\n+\n+import java.io.File;\n+import java.io.FileInputStream;\n+import java.io.IOException;\n+import java.util.concurrent.Executors;\n+\n+import me.zhanghai.android.materialprogressbar.MaterialProgressBar;\n+import ru.ifmo.servicedemoapplication.utils.FileUtils;\n+\n+import static android.os.Environment.getExternalStorageDirectory;\n+import static ru.ifmo.servicedemoapplication.ImageBroadcast.ACTION_TYPE_FINISH_LOADING;\n+import static ru.ifmo.servicedemoapplication.ImageBroadcast.ACTION_TYPE_PARAM;\n+import static ru.ifmo.servicedemoapplication.ImageBroadcast.ACTION_TYPE_PUBLISH_PROGRESS;\n+import static ru.ifmo.servicedemoapplication.ImageBroadcast.ACTION_TYPE_START_LOADING;\n+import static ru.ifmo.servicedemoapplication.ImageBroadcast.BROADCAST_ACTION;\n+import static ru.ifmo.servicedemoapplication.ImageService.FILE_PATH_KEY;\n+import static ru.ifmo.servicedemoapplication.utils.FileUtils.PACKAGE_NAME;\n+import static ru.ifmo.servicedemoapplication.utils.ServiceUtils.isServiceRunning;\n+\n+public class MainActivity extends AppCompatActivity implements View.OnLongClickListener {\n+\n+    private final static String TAG = MainActivity.class.getSimpleName();\n+    private Button actionService;\n+    private Intent serviceIntent;\n+    private ImageView imageView;\n+    private MaterialProgressBar progressBar, circularPB;\n+    private BroadcastReceiver receiver;\n+    private TextView statusTextView, progressText;\n+    private FloatingActionButton addToGallery, setWall, delWall;\n+    private Bitmap bitmap;\n+    private long time;\n+    private String lastPath;\n+    private boolean isButtonShowing;\n+    private int buttonsFlags;\n+    private Handler internetConnectionHandler;\n+    private Runnable checkInterentConnection;\n+\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_main);\n+        Log.d(TAG, \"On create\");\n+        actionService = (Button) findViewById(R.id.dummy_button);\n+        imageView = (ImageView) findViewById(R.id.imageview);\n+        statusTextView = (TextView) findViewById(R.id.fullscreen_content);\n+        progressBar = (MaterialProgressBar) findViewById(R.id.progress_bar);\n+        progressText = (TextView) findViewById(R.id.progress_text);\n+        circularPB = (MaterialProgressBar) findViewById(R.id.circular_pb);\n+        addToGallery = (FloatingActionButton) findViewById(R.id.addToGallery);\n+        setWall = (FloatingActionButton) findViewById(R.id.setWall);\n+        delWall = (FloatingActionButton) findViewById(R.id.delWall);\n+\n+        addToGallery.hide();\n+        setWall.hide();\n+        delWall.hide();\n+\n+        addToGallery.setOnLongClickListener(this);\n+        setWall.setOnLongClickListener(this);\n+        delWall.setOnLongClickListener(this);\n+\n+\n+        internetConnectionHandler = new Handler();\n+        checkInterentConnection = new Runnable() {\n+            @Override\n+            public void run() {\n+                if (isInternetConnectionAvailable()) {\n+                    statusTextView.setText(R.string.dummy_content_start);\n+                } else {\n+                    internetConnectionHandler.postDelayed(this, 1000);\n+                }\n+            }\n+        };\n+\n+        serviceIntent = new Intent(getApplicationContext(), ImageService.class);\n+        actionService.setOnClickListener(new View.OnClickListener() {\n+            @Override\n+            public void onClick(View view) {\n+                if (isServiceRunning(ImageService.class, getApplicationContext())) {\n+                    stopService(serviceIntent);\n+\n+                    buttonsFlags = -1;\n+                    // waiting while service is destroying (and cancel async task)\n+                    Handler handler = new Handler();\n+                    handler.postDelayed(new Runnable() {\n+                        @Override\n+                        public void run() {\n+                            actionService.setText(R.string.start_service);\n+                            statusTextView.setText(R.string.dummy_content);\n+                            circularPB.setVisibility(View.GONE);\n+                            progressText.setVisibility(View.GONE);\n+                            statusTextView.setVisibility(View.VISIBLE);\n+                            imageView.setVisibility(View.GONE);\n+                            hideButtons();\n+                            circularPB.setVisibility(View.GONE);\n+                            progressText.setVisibility(View.GONE);\n+                            progressBar.setVisibility(View.GONE);\n+                            ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancelAll();\n+                        }\n+                    }, 100);\n+                    Log.d(TAG, \"On stop\");\n+                } else {\n+                    statusTextView.setText(R.string.dummy_content_start);\n+                    actionService.setText(R.string.stop_service);\n+                    imageView.setImageBitmap(null);\n+                    imageView.destroyDrawingCache();\n+                    imageView.setVisibility(View.VISIBLE);\n+                    statusTextView.setVisibility(View.VISIBLE);\n+                    startService(serviceIntent);\n+                }\n+            }\n+        });\n+\n+\n+        receiver = new ImageBroadcast() {\n+            @Override\n+            public void onStartLoading() {\n+                internetConnectionHandler.removeCallbacks(checkInterentConnection);\n+                imageView.destroyDrawingCache();\n+//                if (bitmap != null) bitmap.recycle();\n+                imageView.setVisibility(View.GONE);\n+                hideButtons();\n+                buttonsFlags = -1;\n+                statusTextView.setVisibility(View.GONE);\n+                circularPB.setVisibility(View.VISIBLE);\n+                progressText.setVisibility(View.VISIBLE);\n+                progressBar.setProgress(0);\n+                progressBar.setIndeterminate(false);\n+                progressBar.setMax(100);\n+                time = 0;\n+            }\n+\n+            @Override\n+            public void onPublishProgress(int progress, String message) {\n+                progressBar.setProgress(progress);\n+                progressBar.setVisibility(View.VISIBLE);\n+                circularPB.setVisibility(View.GONE);\n+                if (System.currentTimeMillis() - time > 500) {\n+                    progressText.setText(message);\n+                    time = System.currentTimeMillis();\n+                }\n+            }\n+\n+            @Override\n+            public void onFinishLoading(String path) {\n+                showImage(path);\n+            }\n+\n+            @Override\n+            public void onError(String message) {\n+                if (isInternetConnectionAvailable()) {\n+                    showError(message);\n+                } else {\n+                    showError(\"No internet connection\");\n+                    internetConnectionHandler.postDelayed(checkInterentConnection, 1000);\n+                }\n+                showError(isInternetConnectionAvailable() ?\n+                        message : \"No internet connection\");\n+            }\n+        };\n+\n+        if (getSupportActionBar() != null) getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n+\n+        if (isServiceRunning(ImageService.class, getApplicationContext())) {\n+            statusTextView.setText(R.string.dummy_content_start);\n+            actionService.setText(R.string.stop_service);\n+            switch (getIntent().getIntExtra(ACTION_TYPE_PARAM, -1)) {\n+                case ACTION_TYPE_START_LOADING:\n+                case ACTION_TYPE_PUBLISH_PROGRESS:\n+                    statusTextView.setVisibility(View.GONE);\n+                    break;\n+                case ACTION_TYPE_FINISH_LOADING:\n+                    statusTextView.setVisibility(View.GONE);\n+                    showImage(getIntent().getStringExtra(FILE_PATH_KEY));\n+\n+            }\n+        }\n+        registerReceiver(receiver, new IntentFilter(BROADCAST_ACTION));\n+    }\n+\n+    private void showImage(String path) {\n+        lastPath = path;\n+        progressText.setText(R.string.decoding);\n+        progressBar.setVisibility(View.GONE);\n+        circularPB.setVisibility(View.VISIBLE);\n+        statusTextView.setVisibility(View.GONE);\n+        new AsyncTask<String, Void, Bitmap>() {\n+\n+            @Override\n+            protected Bitmap doInBackground(String... args) {\n+                BitmapFactory.Options options = new BitmapFactory.Options();\n+                try {\n+                    FileInputStream in = new FileInputStream(args[0]);\n+                    options.inJustDecodeBounds = false;\n+                    options.inSampleSize = 8;\n+                    BitmapFactory.decodeStream(in, null, options);\n+                    in.close();\n+                } catch (IOException e) {\n+                    e.printStackTrace();\n+                    showError(e.getMessage());\n+                }\n+                bitmap = BitmapFactory.decodeFile(args[0]);\n+                return bitmap;\n+            }\n+\n+\n+            @Override\n+            protected void onPostExecute(final Bitmap bitmap) {\n+                circularPB.setVisibility(View.GONE);\n+                progressText.setVisibility(View.GONE);\n+                progressText.setText(\"\");\n+                imageView.setVisibility(View.VISIBLE);\n+                imageView.setImageBitmap(bitmap);\n+                super.onPostExecute(bitmap);\n+            }\n+        }.executeOnExecutor(Executors.newFixedThreadPool(3), path);","path":"app/src/main/java/ru/ifmo/servicedemoapplication/MainActivity.java","position":242,"original_position":242,"commit_id":"bb63eeacb48783aa50ed1f6a31a346423a617cbd","original_commit_id":"bb63eeacb48783aa50ed1f6a31a346423a617cbd","user":{"login":"HighFlyer13","id":2953187,"avatar_url":"https://avatars.githubusercontent.com/u/2953187?v=3","gravatar_id":"","url":"https://api.github.com/users/HighFlyer13","html_url":"https://github.com/HighFlyer13","followers_url":"https://api.github.com/users/HighFlyer13/followers","following_url":"https://api.github.com/users/HighFlyer13/following{/other_user}","gists_url":"https://api.github.com/users/HighFlyer13/gists{/gist_id}","starred_url":"https://api.github.com/users/HighFlyer13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HighFlyer13/subscriptions","organizations_url":"https://api.github.com/users/HighFlyer13/orgs","repos_url":"https://api.github.com/users/HighFlyer13/repos","events_url":"https://api.github.com/users/HighFlyer13/events{/privacy}","received_events_url":"https://api.github.com/users/HighFlyer13/received_events","type":"User","site_admin":false},"body":"Зачем тут каждый раз создаётся новый executor на 3 потока?","created_at":"2016-12-06T10:14:39Z","updated_at":"2016-12-06T10:14:39Z","html_url":"https://github.com/IFMO-Android-2016/homework3/pull/3#discussion_r91047046","pull_request_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/comments/91047046"},"html":{"href":"https://github.com/IFMO-Android-2016/homework3/pull/3#discussion_r91047046"},"pull_request":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3","id":95353318,"html_url":"https://github.com/IFMO-Android-2016/homework3/pull/3","diff_url":"https://github.com/IFMO-Android-2016/homework3/pull/3.diff","patch_url":"https://github.com/IFMO-Android-2016/homework3/pull/3.patch","issue_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/issues/3","number":3,"state":"open","locked":false,"title":"Service Demo Application","user":{"login":"DimaStoyanov","id":17340158,"avatar_url":"https://avatars.githubusercontent.com/u/17340158?v=3","gravatar_id":"","url":"https://api.github.com/users/DimaStoyanov","html_url":"https://github.com/DimaStoyanov","followers_url":"https://api.github.com/users/DimaStoyanov/followers","following_url":"https://api.github.com/users/DimaStoyanov/following{/other_user}","gists_url":"https://api.github.com/users/DimaStoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/DimaStoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DimaStoyanov/subscriptions","organizations_url":"https://api.github.com/users/DimaStoyanov/orgs","repos_url":"https://api.github.com/users/DimaStoyanov/repos","events_url":"https://api.github.com/users/DimaStoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/DimaStoyanov/received_events","type":"User","site_admin":false},"body":"Приложение реагирует на смену фонового изображения на главном экране и начинает загружать случайную картинку используя api. При нажатии на картинку всплывают 3 кнопки - удалить картинку  с памяти, установить картинку в качестве заставки (более простой способ стригерить закачку новой картинки) и добавить в стандартную галлерею.\r\n\r\n<img alt=\"Loading picture\" src=\"https://pp.vk.me/c837631/v837631212/10c68/3nwac6Asgpo.jpg\" height=\"178px\"> <img alt=\"Notification\" src=\"https://pp.vk.me/c837631/v837631212/10c72/mdgmRCs_pJQ.jpg\" height=\"178px\"> <img alt=\"Main activity\" src=\"https://pp.vk.me/c837631/v837631212/10c7c/v2yooZeVAQI.jpg\" height=\"178px\"> <img height=\"178px\" src=\"https://cloud.githubusercontent.com/assets/17340158/20635780/01cfd9be-b373-11e6-99d6-38cfc1f87cad.gif\" /> \r\n\r\nСтоянов Дмитрий, M3237","created_at":"2016-11-25T23:09:59Z","updated_at":"2016-12-06T10:14:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d59de857ce54536d7ddc239d58589b6efdbe799c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3/commits","review_comments_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3/comments","review_comment_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/issues/3/comments","statuses_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/statuses/bb63eeacb48783aa50ed1f6a31a346423a617cbd","head":{"label":"DimaStoyanov:master","ref":"master","sha":"bb63eeacb48783aa50ed1f6a31a346423a617cbd","user":{"login":"DimaStoyanov","id":17340158,"avatar_url":"https://avatars.githubusercontent.com/u/17340158?v=3","gravatar_id":"","url":"https://api.github.com/users/DimaStoyanov","html_url":"https://github.com/DimaStoyanov","followers_url":"https://api.github.com/users/DimaStoyanov/followers","following_url":"https://api.github.com/users/DimaStoyanov/following{/other_user}","gists_url":"https://api.github.com/users/DimaStoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/DimaStoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DimaStoyanov/subscriptions","organizations_url":"https://api.github.com/users/DimaStoyanov/orgs","repos_url":"https://api.github.com/users/DimaStoyanov/repos","events_url":"https://api.github.com/users/DimaStoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/DimaStoyanov/received_events","type":"User","site_admin":false},"repo":{"id":74792271,"name":"homework3","full_name":"DimaStoyanov/homework3","owner":{"login":"DimaStoyanov","id":17340158,"avatar_url":"https://avatars.githubusercontent.com/u/17340158?v=3","gravatar_id":"","url":"https://api.github.com/users/DimaStoyanov","html_url":"https://github.com/DimaStoyanov","followers_url":"https://api.github.com/users/DimaStoyanov/followers","following_url":"https://api.github.com/users/DimaStoyanov/following{/other_user}","gists_url":"https://api.github.com/users/DimaStoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/DimaStoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DimaStoyanov/subscriptions","organizations_url":"https://api.github.com/users/DimaStoyanov/orgs","repos_url":"https://api.github.com/users/DimaStoyanov/repos","events_url":"https://api.github.com/users/DimaStoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/DimaStoyanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DimaStoyanov/homework3","description":null,"fork":true,"url":"https://api.github.com/repos/DimaStoyanov/homework3","forks_url":"https://api.github.com/repos/DimaStoyanov/homework3/forks","keys_url":"https://api.github.com/repos/DimaStoyanov/homework3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DimaStoyanov/homework3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DimaStoyanov/homework3/teams","hooks_url":"https://api.github.com/repos/DimaStoyanov/homework3/hooks","issue_events_url":"https://api.github.com/repos/DimaStoyanov/homework3/issues/events{/number}","events_url":"https://api.github.com/repos/DimaStoyanov/homework3/events","assignees_url":"https://api.github.com/repos/DimaStoyanov/homework3/assignees{/user}","branches_url":"https://api.github.com/repos/DimaStoyanov/homework3/branches{/branch}","tags_url":"https://api.github.com/repos/DimaStoyanov/homework3/tags","blobs_url":"https://api.github.com/repos/DimaStoyanov/homework3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DimaStoyanov/homework3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DimaStoyanov/homework3/git/refs{/sha}","trees_url":"https://api.github.com/repos/DimaStoyanov/homework3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DimaStoyanov/homework3/statuses/{sha}","languages_url":"https://api.github.com/repos/DimaStoyanov/homework3/languages","stargazers_url":"https://api.github.com/repos/DimaStoyanov/homework3/stargazers","contributors_url":"https://api.github.com/repos/DimaStoyanov/homework3/contributors","subscribers_url":"https://api.github.com/repos/DimaStoyanov/homework3/subscribers","subscription_url":"https://api.github.com/repos/DimaStoyanov/homework3/subscription","commits_url":"https://api.github.com/repos/DimaStoyanov/homework3/commits{/sha}","git_commits_url":"https://api.github.com/repos/DimaStoyanov/homework3/git/commits{/sha}","comments_url":"https://api.github.com/repos/DimaStoyanov/homework3/comments{/number}","issue_comment_url":"https://api.github.com/repos/DimaStoyanov/homework3/issues/comments{/number}","contents_url":"https://api.github.com/repos/DimaStoyanov/homework3/contents/{+path}","compare_url":"https://api.github.com/repos/DimaStoyanov/homework3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DimaStoyanov/homework3/merges","archive_url":"https://api.github.com/repos/DimaStoyanov/homework3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DimaStoyanov/homework3/downloads","issues_url":"https://api.github.com/repos/DimaStoyanov/homework3/issues{/number}","pulls_url":"https://api.github.com/repos/DimaStoyanov/homework3/pulls{/number}","milestones_url":"https://api.github.com/repos/DimaStoyanov/homework3/milestones{/number}","notifications_url":"https://api.github.com/repos/DimaStoyanov/homework3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DimaStoyanov/homework3/labels{/name}","releases_url":"https://api.github.com/repos/DimaStoyanov/homework3/releases{/id}","deployments_url":"https://api.github.com/repos/DimaStoyanov/homework3/deployments","created_at":"2016-11-25T22:48:26Z","updated_at":"2016-11-25T22:54:26Z","pushed_at":"2016-11-26T22:31:23Z","git_url":"git://github.com/DimaStoyanov/homework3.git","ssh_url":"git@github.com:DimaStoyanov/homework3.git","clone_url":"https://github.com/DimaStoyanov/homework3.git","svn_url":"https://github.com/DimaStoyanov/homework3","homepage":null,"size":100,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"IFMO-Android-2016:master","ref":"master","sha":"63a264b09ce2ba4ffc64da3d42581e0c6292119d","user":{"login":"IFMO-Android-2016","id":21907372,"avatar_url":"https://avatars.githubusercontent.com/u/21907372?v=3","gravatar_id":"","url":"https://api.github.com/users/IFMO-Android-2016","html_url":"https://github.com/IFMO-Android-2016","followers_url":"https://api.github.com/users/IFMO-Android-2016/followers","following_url":"https://api.github.com/users/IFMO-Android-2016/following{/other_user}","gists_url":"https://api.github.com/users/IFMO-Android-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/IFMO-Android-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IFMO-Android-2016/subscriptions","organizations_url":"https://api.github.com/users/IFMO-Android-2016/orgs","repos_url":"https://api.github.com/users/IFMO-Android-2016/repos","events_url":"https://api.github.com/users/IFMO-Android-2016/events{/privacy}","received_events_url":"https://api.github.com/users/IFMO-Android-2016/received_events","type":"User","site_admin":false},"repo":{"id":72188810,"name":"homework3","full_name":"IFMO-Android-2016/homework3","owner":{"login":"IFMO-Android-2016","id":21907372,"avatar_url":"https://avatars.githubusercontent.com/u/21907372?v=3","gravatar_id":"","url":"https://api.github.com/users/IFMO-Android-2016","html_url":"https://github.com/IFMO-Android-2016","followers_url":"https://api.github.com/users/IFMO-Android-2016/followers","following_url":"https://api.github.com/users/IFMO-Android-2016/following{/other_user}","gists_url":"https://api.github.com/users/IFMO-Android-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/IFMO-Android-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IFMO-Android-2016/subscriptions","organizations_url":"https://api.github.com/users/IFMO-Android-2016/orgs","repos_url":"https://api.github.com/users/IFMO-Android-2016/repos","events_url":"https://api.github.com/users/IFMO-Android-2016/events{/privacy}","received_events_url":"https://api.github.com/users/IFMO-Android-2016/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IFMO-Android-2016/homework3","description":null,"fork":false,"url":"https://api.github.com/repos/IFMO-Android-2016/homework3","forks_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/forks","keys_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/teams","hooks_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/hooks","issue_events_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/issues/events{/number}","events_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/events","assignees_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/assignees{/user}","branches_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/branches{/branch}","tags_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/tags","blobs_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/git/refs{/sha}","trees_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/statuses/{sha}","languages_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/languages","stargazers_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/stargazers","contributors_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/contributors","subscribers_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/subscribers","subscription_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/subscription","commits_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/commits{/sha}","git_commits_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/git/commits{/sha}","comments_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/comments{/number}","issue_comment_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/issues/comments{/number}","contents_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/contents/{+path}","compare_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/merges","archive_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/downloads","issues_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/issues{/number}","pulls_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls{/number}","milestones_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/milestones{/number}","notifications_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/labels{/name}","releases_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/releases{/id}","deployments_url":"https://api.github.com/repos/IFMO-Android-2016/homework3/deployments","created_at":"2016-10-28T08:26:48Z","updated_at":"2016-10-28T08:26:48Z","pushed_at":"2016-12-05T19:45:16Z","git_url":"git://github.com/IFMO-Android-2016/homework3.git","ssh_url":"git@github.com:IFMO-Android-2016/homework3.git","clone_url":"https://github.com/IFMO-Android-2016/homework3.git","svn_url":"https://github.com/IFMO-Android-2016/homework3","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":51,"forks":62,"open_issues":51,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3"},"html":{"href":"https://github.com/IFMO-Android-2016/homework3/pull/3"},"issue":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/issues/3"},"comments":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/IFMO-Android-2016/homework3/statuses/bb63eeacb48783aa50ed1f6a31a346423a617cbd"}}}}
{"actor":{"display_login":"HighFlyer13"}}