启动一个Activity时,怎样实现请求完数据之后,再一次性显示界面,而不是先显示xml布局,然后再加载数据到UI
业精于勤,荒于嬉;行成于思,毁于随。
1. First pop up a loading interface, wait for the data to come back, and then display it 2. Directly display an empty interface first, wait for the data to come back, and then refresh it
1. First pop up a loading interface, wait for the data to come back, and then display it
2. Directly display an empty interface first, wait for the data to come back, and then refresh it