public void onScreenChange(int currentScreen, int lastScreen) { if (vInd != null) { vInd.setScreenCount(getCount()); vInd.onScreenChange(currentScreen, lastScreen); } }
public View getHeaderView() { if (llHeader == null) { llHeader = new PRTHeader(getContext()); } return llHeader; }
/** 编辑界面,显示的图片 */ private void showThumb(Bitmap pic) { PicViewerPage page = new PicViewerPage(impl); page.setImageBitmap(pic); page.show(activity, null); }
public View getView(int position, View convertView, ViewGroup parent) { if (convertView == null) { FriendListItem llItem = new FriendListItem(parent.getContext(), ratio); convertView = llItem; } FriendListItem llItem = (FriendListItem) convertView; llItem.update(getItem(position), isFling()); if (position == getCount() - 1) { next(); } return convertView; }
public PlatformPageAdapter(PlatformPage page, ArrayList<Object> cells) { this.page = page; if (cells != null && !cells.isEmpty()) { calculateSize(page.getContext(), cells); collectCells(cells); } }
public final void performCustomLogoClick(final View v, final CustomerLogo logo) { beforeFinish = new Runnable() { public void run() { logo.listener.onClick(v); } }; finish(); }
public void onScreenChange(int currentScreen, int lastScreen) { if (currentScreen != current) { current = currentScreen; postInvalidate(); } }
public boolean handleMessage(Message msg) { notifyDataSetChanged(); return false; } });
public boolean handleMessage(Message msg) { activity.finish(); return false; } });
public View getView(int position, View convertView, ViewGroup parent) { if (convertView == null) { FriendListItem llItem = new FriendListItem(parent.getContext(), ratio); convertView = llItem; } FriendListItem llItem = (FriendListItem) convertView; llItem.update(getItem(position), isFling()); if (position == getCount() - 1) { next(); } return convertView; }
public void onScreenChange(int currentScreen, int lastScreen) { if (vInd != null) { vInd.setScreenCount(getCount()); vInd.onScreenChange(currentScreen, lastScreen); } }
/** 编辑界面,显示的图片 */ private void showThumb(Bitmap pic) { PicViewerPage page = new PicViewerPage(impl); page.setImageBitmap(pic); page.show(activity, null); }
public PlatformPageAdapter(PlatformPage page, ArrayList<Object> cells) { this.page = page; if (cells != null && !cells.isEmpty()) { calculateSize(page.getContext(), cells); collectCells(cells); } }
public View getHeaderView() { if (llHeader == null) { llHeader = new PRTHeader(getContext()); } return llHeader; }
public final void performCustomLogoClick(final View v, final CustomerLogo logo) { beforeFinish = new Runnable() { public void run() { logo.listener.onClick(v); } }; finish(); }
public void onScreenChange(int currentScreen, int lastScreen) { if (currentScreen != current) { current = currentScreen; postInvalidate(); } }
public boolean handleMessage(Message msg) { notifyDataSetChanged(); return false; } });
public boolean handleMessage(Message msg) { activity.finish(); return false; } });
public void onClick(View v) { finish(); } });