package com.oneminutedistraction.hackersnews;

import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.util.Log;

import org.json.JSONException;
import org.json.JSONObject;

import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;

/**
 * Created by cmlee on 19/8/16.
 */
public class NewsFetcher implements Runnable {

    public Handler handler;

    @Override
    public void run() {
        Log.d(Constants.TAG, "Starting NewsFetcher");

        Looper.prepare();

        handler = new Handler() {
            @Override
            public void handleMessage(Message msg) {
            }
        };

        Looper.loop();
    }
}
