<commit_before>package com.stanfy.app.fragments;

import android.os.Bundle;

import com.stanfy.app.BaseFragment;
import com.stanfy.utils.OneRequestModelBehavior;

/**
 * Fragment that contains a request builder instance and is oriented on processing
 * a particular model type.
 * @param <MT> model type
 * @author <NAME> (Stanfy - http://www.stanfy.com)
 */
public abstract class OneRequestModelFragment<MT> extends BaseFragment implements OneRequestModelBehavior<MT> {

  /** Core object. */
  private final OneRequestModelHelper<MT> core = new OneRequestModelHelper<MT>(this);

  @Override
  public void onActivityCreated(final Bundle savedInstanceState) {
    super.onActivityCreated(savedInstanceState);
    core.fetch();
  }

}
<commit_msg>implement getSupportLoaderManager for one request model fragment<commit_after>package com.stanfy.app.fragments;

import android.os.Bundle;
import android.support.v4.app.LoaderManager;

import com.stanfy.app.BaseFragment;
import com.stanfy.utils.OneRequestModelBehavior;

/**
 * Fragment that contains a request builder instance and is oriented on processing
 * a particular model type.
 * @param <MT> model type
 * @author <NAME> (Stanfy - http://www.stanfy.com)
 */
public abstract class OneRequestModelFragment<MT> extends BaseFragment implements OneRequestModelBehavior<MT> {

  /** Core object. */
  private final OneRequestModelHelper<MT> core = new OneRequestModelHelper<MT>(this);

  @Override
  public LoaderManager getSupportLoaderManager() { return getLoaderManager(); }

  @Override
  public void onActivityCreated(final Bundle savedInstanceState) {
    super.onActivityCreated(savedInstanceState);
    core.fetch();
  }

}

{'fraction_non_alphanumeric': 0.09696609161213564, 'fraction_numerical': 0.000594883997620464, 'mean_word_length': 5.1838235294117645, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7251661', 'n_tokens_mistral': 473, 'n_tokens_neox': 456, 'n_words': 126}