Display display = ((Activity) mContext).getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
realwidth = size.x;
realHeight = size.y;
diagonal = Functions.getDiagonalOfDevice(mContext);
LayoutParams params = viewHolder.linearName.getLayoutParams();
listCount = params.height;
totalCount = listCount + (realHeight - listCount);
int myCount = realHeight / listCount;
Log.e("total Count", "" + myCount);