5
나는 SwipeRefreshLayout
을 (를) 사용합니다. 몇 가지 질문이 있습니다.SwipeRefreshLayout에서 터치 이벤트를 사용 중지하는 방법은 무엇인가요?
- 활성 상태 일 때 터치 스크린을 차단하는 방법
onRefresh()
? 업데이트하는 동안 화면 대신 회전 중심에서 진행하는 방법은 무엇입니까?
swipeLayout = (SwipeRefreshLayout) v.findViewById(R.id.swipe_status_info); swipeLayout.setColorSchemeColors(Color.RED, Color.GREEN, Color.BLUE, Color.CYAN); swipeLayout.setOnRefreshListener(this); @Override public void onRefresh() { clearTable(holidayTable); clearTable(cityayTable); setData(); }