public void lastImage() { if (_imageIndex > 0) { _imageIndex--; InicioImage = SelectedInicio.getImageAt(_imageIndex); InicioText = SelectedInicio.getTextAt(_imageIndex); OnPropertyChanged(new string[] { "InicioImage", "InicioText" }); } }
public void nextImage() { if (_imageIndex < _maxImages - 1) { _imageIndex++; InicioImage = SelectedInicio.getImageAt(_imageIndex); InicioText = SelectedInicio.getTextAt(_imageIndex); OnPropertyChanged(new string[] { "InicioImage", "InicioText" }); } }