When I make a change, such as a text color to XAML, in this case a label, during Hot Reload/Debug, the label's text is disappeared. (Or) It doesn't reassign the label.
It seems Hot Reload doesn't make changes to the design of data assigned at runtime or compiled time.
Is there anyway to fix it? or Does Xamarin Hot Reload has a missing feature?
<Label x:Name="label1" HorizontalOptions="Center"
VerticalOptions="CenterAndExpand" TextColor="Blue"/>
public MainPage()
{
InitializeComponent();
label1.Text = "Label 1";
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.