0
바인딩되지 않습니다MvxListView 나는 이상한 오류 데
<Mvx.MvxListView
android:id="@+id/RatingsList"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
local:MvxBind="ItemsSource Path=Dishes"
local:MvxItemTemplate="@layout/userpagedishtemplate"
style="@style/ToolBarImage"
android:background="#ffffffff" />
해당 뷰 모델 나는 다음과 같은 오류가로드되는 : 여기에 부분적인 레이아웃입니다에 내가 MvxListView있는 페이지가 을
을[MvxBind] 24.32 Unable to bind: source property source not found Cirrious.MvvmCross.Binding.Parse.PropertyPath.PropertyTokens.MvxPropertyNamePropertyToken on RestaurantPageViewModel
속성 요리는 뷰 모델에 존재 :
List<DishViewModel> _dishes = new List<DishViewModel>();
List<DishViewModel> Dishes
{
get
{
return _dishes;
}
set
{
_dishes = value;
RaisePropertyChanged (() => Dishes);
}
}
그리고 나는이 나는이 같은 논리는 다른 종류의
모든 아이디어는 내 응용 프로그램에서 다른보기에서 작업이
private void LoadDishesFromWeb()
{
List<Dish> dishes = CommunicationManager.Restaurnats.GetDishListForRestaurnat (Restaurant.ID);
foreach (var item in dishes)
{
Dishes.Add (new DishViewModel (item));
}
}
: 항목 목록을 채우는 방법은?
나를 이렇게 벙어리
public
단어를 추가해보십시오 .... :( –