<commit_before>package com.cube.storm.ui.view.holder;

import android.support.v7.widget.RecyclerView.ViewHolder;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.cube.storm.UiSettings;
import com.cube.storm.ui.model.list.List.ListFooter;

/**
 * View holder for {@link com.cube.storm.ui.model.list.List.ListFooter} in the adapter. This is the 'footer' part
 * of the {@link com.cube.storm.ui.model.list.List} model for displaying in the list view. There is a
 * counter-part for the 'header' part of the model.
 *
 * @author <NAME>
 * @project StormUI
 */
public class ListFooterHolder extends Holder<ListFooter>
{
	protected TextView title;

	public ListFooterHolder(View view)
	{
		super(view);

	}

	@Override public void populateView(ListFooter model)
	{
		title.setText(UiSettings.getInstance().getTextProcessor().process(model.getFooter().getContent()));
	}

	public static ViewHolder createView(ViewGroup parent)
	{
		return new ListFooterHolder(null);<commit_msg>Updated footer view holder<commit_after>package com.cube.storm.ui.view.holder;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.cube.storm.UiSettings;
import com.cube.storm.ui.R;
import com.cube.storm.ui.model.list.List.ListFooter;

/**
 * View holder for {@link com.cube.storm.ui.model.list.List.ListFooter} in the adapter. This is the 'footer' part
 * of the {@link com.cube.storm.ui.model.list.List} model for displaying in the list view. There is a
 * counter-part for the 'header' part of the model.
 *
 * @author <NAME>
 * @project StormUI
 */
public class ListFooterHolder extends ViewHolderController
{
	@Override public ViewHolder createViewHolder(ViewGroup parent)
	{
		View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.footer_text_list_item_view, parent, false);
		mViewHolder = new ListFooterViewHolder(view);
		return mViewHolder;
	}

	private class ListFooterViewHolder extends ViewHolder<ListFooter>
	{
		protected TextView title;

		public ListFooterViewHolder(View itemView)
		{
			super(itemView);
		}

		@Override public void populateView(ListFooter model)
		{
			if (model != null)
			{
				title.setText(UiSettings.getInstance().getTextProcessor().process(model.getFooter().getContent()));
			}
		}
{'fraction_non_alphanumeric': 0.113143343258188, 'fraction_numerical': 0.0004253509145044662, 'mean_word_length': 4.836228287841191, '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': '6202502', 'n_tokens_mistral': 779, 'n_tokens_neox': 737, 'n_words': 177}