// Path: libs_external/Abewy_Extended/src/com/abewy/android/extended/fragment/GridFragment.java
// public static interface IEmptyView
// {
// 	public void setText(String text);
// 
// 	public void setText(int text);
// }


import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AnimationUtils;
import android.widget.AdapterView;
import android.widget.GridView;
import android.widget.ListAdapter;
import com.abewy.android.extended.R;
import com.abewy.android.extended.fragment.GridFragment.IEmptyView;
				parent.startAnimation(AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_out));
			}
			else
			{
				loadingView.clearAnimation();
				parent.clearAnimation();
			}
			loadingView.setVisibility(View.VISIBLE);

			if (parent != null)
				parent.setVisibility(View.GONE);
		}
	}

	protected void setEmptyText(int resId)
	{
		emptyText = resId;
		setText(emptyText);
	}

	protected void setErrorText(int resId)
	{
		errorText = resId;
	}

	private void setText(int resId)
	{
		if (resId != -1)
		{
			final View emptyView = getGridView().getEmptyView();
// Path: libs_external/Abewy_Extended/src/com/abewy/android/extended/fragment/GridFragment.java
// public static interface IEmptyView
// {
// 	public void setText(String text);
// 
// 	public void setText(int text);
// }


// Path: libs_external/Abewy_Extended/src/com/abewy/android/extended/fragment/GridDialogFragment.java
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AnimationUtils;
import android.widget.AdapterView;
import android.widget.GridView;
import android.widget.ListAdapter;
import com.abewy.android.extended.R;
import com.abewy.android.extended.fragment.GridFragment.IEmptyView;

				parent.startAnimation(AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_out));
			}
			else
			{
				loadingView.clearAnimation();
				parent.clearAnimation();
			}
			loadingView.setVisibility(View.VISIBLE);

			if (parent != null)
				parent.setVisibility(View.GONE);
		}
	}

	protected void setEmptyText(int resId)
	{
		emptyText = resId;
		setText(emptyText);
	}

	protected void setErrorText(int resId)
	{
		errorText = resId;
	}

	private void setText(int resId)
	{
		if (resId != -1)
		{
			final View emptyView = getGridView().getEmptyView();
			if (emptyView != null && emptyView instanceof IEmptyView)