Java Code Examples for com.lidroid.xutils.bitmap.PauseOnScrollListener

The following examples show how to use com.lidroid.xutils.bitmap.PauseOnScrollListener. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: miappstore   Source File:    License: Apache License 2.0 6 votes vote down vote up
 * 可见时,需要启动监听,以便随时根据下载状态刷新页面

protected View createSuccessView() {
    listView = new BaseListView(getContext()) {
        public void refresh() {
    listView.setOnScrollListener(new PauseOnScrollListener(bitmapUtils, false, true));
    listApp = load.getListApp();
    listAdapter = new TopListAdapter(listApp, listView, getContext()) {
        public String getHostUrls() {
            return load.getHost();
    return listView;
Example 2
Source Project: QiQuYing   Source File:    License: Apache License 2.0 5 votes vote down vote up
private void init(Context context) { 
    	progressAnimation = AnimationUtils.loadAnimation(context,
    	inflater = LayoutInflater.from(context);
        footView = inflater.inflate(R.layout.footer, null);
//        footView.findViewById(;
        footerProgressImg = (ImageView) footView.findViewById(;
        addFooterView(footView, null, false);
        // 设置滚动监听事件  
//        setOnScrollListener(this);  
		setOnScrollListener(new PauseOnScrollListener(BitmapUtil.mBitmapUtils, false, true, this));