SwipeView类似桌面的滑动界面(24)
来源:未知 责任编辑:责任编辑 发表时间:2013-12-06 08:44 点击:次
{
indicators.get(i).setLayoutParams(new LayoutParams(mIndicatorSize, mIndicatorSize));
}
}
/**
* Return the size of the page indicator drawables
*
* @return Returns the size of the page indicator drawables
*/
public int getIndicatorSize()
{
return mIndicatorSize;
}
/**
*
* @author Jason Fry - jasonfry.co.uk
*
* Interface definition for a callback to be invoked when a PageControl is clicked.
*
*/
public interface OnPageControlClickListener
{
/**
* Called when the PageControl should go forwards
*
*/
public abstract void goForwards();
/**
* Called when the PageControl should go backwards
*
*/
public abstract void goBackwards();
}
/**
* Set the OnPageControlClickListener object for this PageControl
*
* @param onPageControlClickListener The OnPageControlClickListener you wish to set
*/
public void setOnPageControlClickListener(OnPageControlClickListener onPageControlClickListener)
{
mOnPageControlClickListener = onPageControlClickListener;
}
/**
* Return the OnPageControlClickListener that has been set on this PageControl
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>