package com.ty.pull.to.refresh;

import android.content.Context;

public class Utils {
	public static int convertDpToPixel(Context context, int dp) {
		float density = context.getResources().getDisplayMetrics().density;
		return Math.round((float) dp * density);
	}
}
