Add setLoading method to ListView