예제 #1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.alert_view);
   this.tag = Constant.TAG_ALERT;
   View main_view = findViewById(R.id.main_alert);
   this.configHeaderAndSlideMenu(main_view);
   TextView title = (TextView) findViewById(R.id.top_title);
   title.setText(getResources().getString(R.string.menu_alert));
   ListView listview_friend = (ListView) findViewById(R.id.list_alert);
   list_alert = getMember();
   myfriend_adapter = new AlertAdapter(this, list_alert);
   listview_friend.setAdapter(myfriend_adapter);
   listview_friend.setOnItemClickListener(
       new OnItemClickListener() {
         @Override
         public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
           // Intent intent = new Intent(ChatListActivity.this,MemberDetailActivity.class);
           // startActivity(intent);
         }
       });
 }
예제 #2
0
 // destroy function
 @Override
 public void onDestroy() {
   super.onDestroy();
 }