private void setListShown(boolean shown, boolean animate) {
ensureCustomList();
if(mListShown == shown) {
return;
}
mListShown = shown;
if(mListContainer != null && mProgressContainer != null) {
if(shown) {
if(animate) {
mListContainer.startAnimation(AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_in));
}
mListContainer.setVisibility(View.VISIBLE);
mProgressContainer.setVisibility(View.GONE);
}else {
if(animate) {
mListContainer.startAnimation(AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_out));
}
mListContainer.setVisibility(View.GONE);
mProgressContainer.setVisibility(View.VISIBLE);
}
}
}
CSSListFragment.java 文件源码
java
阅读 57
收藏 0
点赞 0
评论 0
项目:CSipSimple
作者:
评论列表
文章目录