getApplicationContext(), 0, intent, 0);AlertDialog.Builder alertDialogBuilder= new AlertDialog.Builder(this); alertDialogBuilder.setMessage("Enter the amount of
我正在尝试在我的安卓应用程序上创建一个带有列表的AlertDialog。AlertDialog.Builder builder = new AlertDialog.Builder(HomeActivity.this);ArrayAdapter<String> adapter = new ArrayAdapter<String>(getApplicationContext(), android.R.layout.simpl