stringArrayList.add("Six political scientists react to the first Democratic primary debates"); stringArrayList.add("Technology and transparency: the path to a modern Congress?"); stringArrayList.add("Brazil’s Bolsonaro took a page from US politics by dangling the possibility of an evangelical Supreme Court Justice"); stringArrayList.add("What’s motivating the DNC’s debate rules"); stringArrayList.add("Why everyone runs for president these days"); stringArrayList.add("Is Pete Buttigieg the next Jimmy Carter?"); stringArrayList.add("How the DNC can reduce the number of presidential candidates"); stringArrayList.add("Should we consider “electability” when evaluating candidates?"); stringArrayList.add("Trump might make us miss Watergate"); stringArrayList.add("Venezuela’s uprising shows the potential dangers of a civilian-military alliance"); stringArrayList.add("Biden’s presidential announcement strategy was risky"); stringArrayList.add("Evangelicals are now the key constituency in the Republican Party. They are reaping the benefits."); stringArrayList.add("The scientific maneuver Mueller used that implicates the president"); stringArrayList.add("Who wants to pay taxes?"); stringArrayList.add("What is polarizing legislatures? Probably not what you think."); stringArrayList.add("The Constitution’s “natural-born” defect"); stringArrayList.add("The Constitution doesn’t say enough about limiting executive power"); stringArrayList.add("The Senate is a much bigger problem than the Electoral College"); stringArrayList.add("How powerful is the US president?"); stringArrayList.add("Changing the Constitution without amending it: the National Popular Vote story"); if (selected.equals("Six political scientists react to the first Democratic primary debates")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Technology and transparency: the path to a modern Congress?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Brazil’s Bolsonaro took a page from US politics by dangling the possibility of an evangelical Supreme Court Justice")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What’s motivating the DNC’s debate rules")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Why everyone runs for president these days")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Is Pete Buttigieg the next Jimmy Carter?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How the DNC can reduce the number of presidential candidates")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Should we consider “electability” when evaluating candidates?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Trump might make us miss Watergate")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Venezuela’s uprising shows the potential dangers of a civilian-military alliance")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Biden’s presidential announcement strategy was risky")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Evangelicals are now the key constituency in the Republican Party. They are reaping the benefits.")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The scientific maneuver Mueller used that implicates the president")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Who wants to pay taxes?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is polarizing legislatures? Probably not what you think.")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Constitution’s “natural-born” defect")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Constitution doesn’t say enough about limiting executive power")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Senate is a much bigger problem than the Electoral College")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/18.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How powerful is the US president?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/19.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Changing the Constitution without amending it: the National Popular Vote story")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/PoliticalScience2/20.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }