private void GetPosts() { ControlActivityIndicator(true); posts.Clear(); List <Post> data = APIConnection.GetPosts(); foreach (Post p in data) { this.posts.Add(p); } ControlActivityIndicator(false); }
private void GetPosts() { ControlActivityIndicator(true); posts.Clear(); List <Post> data = APIConnection.GetPosts(); foreach (Post p in data) { this.posts.Add(p); } ControlActivityIndicator(false); }