<commit_before>package apidez.com.databinding.view.fragment;

import android.app.ProgressDialog;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;

import javax.inject.Inject;

import apidez.com.databinding.MyApplication;
import apidez.com.databinding.R;
import apidez.com.databinding.databinding.FragmentPlacesBinding;
import apidez.com.databinding.view.adapter.PlacesAdapter;
import apidez.com.databinding.viewmodel.IPlacesViewModel;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;

public class PlacesFragment extends BaseFragment {
    private ProgressDialog mProgressDialog;
    private PlacesAdapter mPlacesAdapter;
    private FragmentPlacesBinding binding;

    @Inject
    IPlacesViewModel mViewModel;

    public static PlacesFragment newInstance() {
        PlacesFragment fragment = new PlacesFragment();
        Bundle args = new Bundle();
        fragment.setArguments(args);
        return fragment;
    }

    public PlacesFragment() {
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setHasOptionsMenu(true);

        // Setup DI
        ((MyApplication) getActivity().getApplication())<commit_msg>refactor<commit_after>package apidez.com.databinding.view.fragment;

import android.app.ProgressDialog;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;

import javax.inject.Inject;

import apidez.com.databinding.MyApplication;
import apidez.com.databinding.R;
import apidez.com.databinding.databinding.FragmentPlacesBinding;
import apidez.com.databinding.view.adapter.PlacesAdapter;
import apidez.com.databinding.viewmodel.IPlacesViewModel;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;

public class PlacesFragment extends BaseFragment {
    private ProgressDialog mProgressDialog;
    private FragmentPlacesBinding binding;

    @Inject
    IPlacesViewModel mViewModel;

    public static PlacesFragment newInstance() {
        PlacesFragment fragment = new PlacesFragment();
        Bundle args = new Bundle();
        fragment.setArguments(args);
        return fragment;
    }

    public PlacesFragment() {
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setHasOptionsMenu(true);

        // Setup DI
        ((MyApplication) getActivity().getApplication())
{'fraction_non_alphanumeric': 0.08452104739807756, 'fraction_numerical': 0.001325820351342393, 'mean_word_length': 4.630597014925373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2563516', 'n_tokens_mistral': 873, 'n_tokens_neox': 815, 'n_words': 166}