如何更改png图像? Github Yalantis图书馆?

时间:2016-01-29 14:51:04

标签: java android shared-libraries

我最近在Yalantis网上发现了这款名为Phoenix Pull-to-Refresh的优秀git,在描述中,它说 sun png SunImage 天空png背景图像 建筑物png前景图像 我已经编译了依赖项并实现了Pull-To-Refresh 我的问题是如何更改png图像?

    mPullToRefreshView = (PullToRefreshView)view.findViewById(R.id.pull_to_refresh);
    mPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {
        @Override
        public void onRefresh() {
            mPullToRefreshView.postDelayed(new Runnable() {
                @Override
                public void run() {
                    mPullToRefreshView.setRefreshing(false);
                    JsonRequestMethod();
                }
            }, REFRESH_DELAY);
        }
    });

    return view;
}

0 个答案:

没有答案