From 777fcaccb6094833032e2803ec90af741fd2c097 Mon Sep 17 00:00:00 2001 From: Hiroyuki Adachi Date: Fri, 18 Mar 2022 20:15:49 +0900 Subject: [PATCH] refactor: #13 keeping codes clean. --- MidiPlayer.Droid/MainActivity.Component.cs | 137 ++++++++++++++++-- .../MainActivity.EventCallback.cs | 120 --------------- MidiPlayer.Droid/MidiPlayer.Droid.csproj | 1 - 3 files changed, 126 insertions(+), 132 deletions(-) delete mode 100644 MidiPlayer.Droid/MainActivity.EventCallback.cs diff --git a/MidiPlayer.Droid/MainActivity.Component.cs b/MidiPlayer.Droid/MainActivity.Component.cs index 304d653..accabdd 100644 --- a/MidiPlayer.Droid/MainActivity.Component.cs +++ b/MidiPlayer.Droid/MainActivity.Component.cs @@ -2,6 +2,7 @@ using Android.Support.V7.App; using Android.Widget; +using System; using System.Collections.Generic; using System.Linq; @@ -44,27 +45,127 @@ public partial class MainActivity : AppCompatActivity { /// initialize the component. /// void initializeComponent() { + + /// + /// buttonLoadSoundFont + /// _buttonloadSoundFont = FindViewById