private void UpdateReviews(ReviewDetailsDataModel review) { var index = ReviewList.IndexOf(review); ReviewList.Remove(review); ReviewList.Insert(index, review); //ReviewList = ReviewList; }
private void UpdateReviews(ReviewDetailsDataModel review) { try { var index = ReviewList.IndexOf(review); ReviewList.Remove(review); ReviewList.Insert(index, review); if (review.IsVisible) { ShowDetailsIcon = _expandIcon; } else { ShowDetailsIcon = _collapseIcon; } }catch (Exception e) { } //ReviewList = ReviewList; }