<commit_before>package me.sniggle.android.utils.presenter;

import android.content.Context;
import android.os.Bundle;
import android.view.View;

import me.sniggle.android.utils.adapter.BaseRecyclerViewAdapter;
import me.sniggle.android.utils.application.BaseContext;

/**
 * Base class implementing FragmentPresenter for an RecyclerView
 */
public class BaseFragmentRecyclerPresenter<Adapter extends BaseRecyclerViewAdapter, AdapterItem, Ctx extends BaseContext> extends BaseRecyclerPresenter<Adapter, AdapterItem, Ctx> implements FragmentPresenter{

  protected BaseFragmentRecyclerPresenter(Ctx appContext, int recyclerViewId, Adapter adapter) {
    super(appContext, recyclerViewId, adapter);
  }

  protected BaseFragmentRecyclerPresenter(Ctx appContext, int recyclerViewId, int loadingContainerId, Adapter adapter) {
    super(appContext, recyclerViewId, loadingContainerId, adapter);
  }

  @Override
  public void onAttach(Context context) {
  }

  @Override
  public void onCreate(Bundle savedInstanceState) {
  }

  @Override
  public void onCreateView() {
  }

  @Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    preViewCreated();
    viewCreated(view);
    postViewCreated();
  }

  @Override
  public void onActivityCreated(Bundle savedInstanceState) {<commit_msg>fragment presenter and base fragment updated<commit_after>package me.sniggle.android.utils.presenter;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.View;

import me.sniggle.android.utils.adapter.BaseRecyclerViewAdapter;
import me.sniggle.android.utils.application.BaseContext;

/**
 * Base class implementing FragmentPresenter for an RecyclerView
 */
public class BaseFragmentRecyclerPresenter<Adapter extends BaseRecyclerViewAdapter, AdapterItem, Ctx extends BaseContext> extends BaseRecyclerPresenter<Adapter, AdapterItem, Ctx> implements FragmentPresenter{

  protected BaseFragmentRecyclerPresenter(Ctx appContext, int recyclerViewId, Adapter adapter) {
    super(appContext, recyclerViewId, adapter);
  }

  protected BaseFragmentRecyclerPresenter(Ctx appContext, int recyclerViewId, int loadingContainerId, Adapter adapter) {
    super(appContext, recyclerViewId, loadingContainerId, adapter);
  }

  @Override
  public void onAttach(Context context) {
  }

  @Override
  public void onCreate(Bundle savedInstanceState) {
  }

  @Override
  public void onCreateView() {
  }

  @Override
  public void onViewCreated(View view, Bundle savedInstanceState, Fragment fragment) {
    super.onViewCreated(view);
  }

  @Override
  public void onActivityCreated(Bundle savedInstanceState) {
{'fraction_non_alphanumeric': 0.07680779318096666, 'fraction_numerical': 0.0003746721618583739, 'mean_word_length': 5.89922480620155, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7254402', 'n_tokens_mistral': 771, 'n_tokens_neox': 729, 'n_words': 179}