refactor:规范代码格式和注释
This commit is contained in:
@@ -5,8 +5,15 @@ using Android.OS;
|
||||
namespace Hua.Todo.Maui;
|
||||
|
||||
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
|
||||
/// <summary>
|
||||
/// Android 平台入口 Activity。
|
||||
/// </summary>
|
||||
public class MainActivity : MauiAppCompatActivity
|
||||
{
|
||||
/// <summary>
|
||||
/// Activity 创建时回调。
|
||||
/// </summary>
|
||||
/// <param name="savedInstanceState">上次保存状态。</param>
|
||||
protected override void OnCreate(Bundle? savedInstanceState)
|
||||
{
|
||||
base.OnCreate(savedInstanceState);
|
||||
|
||||
Reference in New Issue
Block a user