SQL
C++
code posted
created at 28 Jan 10:51, updated at 08 Feb 10:12
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
private void setSettingValue() { runOnUiThread(new Runnable() { @Override public void run() { reloadAllText(); mAdapter = new SettingBaseListAdapter(getApplicationContext(), listSetting, listLanguage, listOrder); listView.setAdapter(mAdapter); } }); } @Override public void onClick(View v) { if(v == buttonBack) finish(); } @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { switch (position) { case 0: case 1: case 2: Intent intent = new Intent(this, UnitsCurrency.class); intent.putExtra("requestCode", position); startActivityForResult(intent, position); break; case 3: Intent intentDay = new Intent(this, ExpenseDayOfMonthEndActivity.class); intentDay.putExtra("requestCode", position); startActivityForResult(intentDay, position); break; case 4: case 5: oPenUrl(position); break; case 6: Intent about = new Intent(this, About.class); startActivity(about); break; case 7: Intent sendEmail = new Intent(this, FeedbackAndContact.class); sendEmail.putExtra("requestCode", position); startActivityForResult(sendEmail, position); break; } } |
1.24 KB in 3 ms with coderay