Android Swiperefreshlayout Returns Null
I want to use a SwipeRefreshLayout for replace data, but when i do mSwipeRefreshLayout = (SwipeRefreshLayout)findViewById(R.id.refresh); mSwipeRefreshLayout had null. code example
Solution 1:
use this befor findViewById
setContentView(R.layout.main)
Post a Comment for "Android Swiperefreshlayout Returns Null"