protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.MoreInfoLayout); videoCallAdapter = new VideoCallAdapter(); UserIfoButton = FindViewById <ImageButton>(Resource.Id.UserInfoButton); VideoCallButton = FindViewById <ImageButton>(Resource.Id.ViedoCallButton); listView = FindViewById <ListView>(Resource.Id.OptionListView); #pragma warning disable CS0618 // 형식 또는 멤버는 사용되지 않습니다. listView.SetAdapter(videoCallAdapter); #pragma warning disable CS0618 // 형식 또는 멤버는 사용되지 않습니다. videoCallAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "정보등록 / 수정"); videoCallAdapter.AddItem(GetDrawable(Resource.Drawable.settingicon), "환경설정"); videoCallAdapter.AddItem(GetDrawable(Resource.Drawable.infoicon), "앱정보"); BackPressCloseHandler = new BackPressCloseHandler(this); UserIfoButton.Click += UserIfoButton_Click; VideoCallButton.Click += VideoCallButton_Click; // Create your application here }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.VideoCallLayout); callAdapter = new VideoCallAdapter(); listView = FindViewById <ListView>(Resource.Id.CallListView); #pragma warning disable CS0618 // 형식 또는 멤버는 사용되지 않습니다. listView.SetAdapter(callAdapter); #pragma warning restore CS0618 // 형식 또는 멤버는 사용되지 않습니다. callAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "강용현"); callAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "안용욱"); callAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "차재훈"); UserIfoButton = FindViewById <ImageButton>(Resource.Id.UserInfoButton); MoreInfoButton = FindViewById <ImageButton>(Resource.Id.MoreOptionButton); BackPressCloseHandler = new BackPressCloseHandler(this); UserIfoButton.Click += UserIfoButton_Click; MoreInfoButton.Click += MoreInfoButton_Click; // Create your application here }