Last active
July 22, 2018 10:38
-
-
Save satoru-naruko/f54c9f44f3361bf46ed3c21a9925475c to your computer and use it in GitHub Desktop.
(解決)Xamarin Prism.Forms でViewModelがインスタンス化されない ref: https://qiita.com/n-satoru/items/a886e73e045d84d5057a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace プロジェクト名.ViewModels // ← namespaceも一致させないといけない | |
{ | |
public class SliderSampleViewModel : ViewModelBase | |
{ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace プロジェクト名.Views | |
{ | |
public partial class SliderSample : ContentPage | |
{ | |
public SliderSample() | |
{ | |
InitializeComponent(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment