stringArrayList.add("The Ultimate Introduction To Agile Project Management"); stringArrayList.add("Why Do We Need to Be Agile?"); stringArrayList.add("Feasibility"); stringArrayList.add("Justification"); stringArrayList.add("Initiation"); stringArrayList.add("Project Brief"); stringArrayList.add("Culture and Ways of Working"); stringArrayList.add("Backlog"); stringArrayList.add("High-level Estimation and Prioritization"); stringArrayList.add("Roadmap and Storymaps"); stringArrayList.add("Release Planning"); stringArrayList.add("Product Iterations"); stringArrayList.add("Sprinting"); stringArrayList.add("Defining Done"); stringArrayList.add("Continuous Improvement"); stringArrayList.add("Beyond Agile Project Management"); stringArrayList.add("6 Productivity Hacks That You Didn’t Know About"); stringArrayList.add("SEO vs PPC Which One Creates More Advantages"); stringArrayList.add("How Agile Practices Improve Release Management?"); stringArrayList.add("How having a Lean-Agile Mindset benefits agile teams?"); stringArrayList.add("Top agile myths and misconceptions, in agile project management"); stringArrayList.add("Program Increment Planning Tips for Release Train Engineers (RTE) in SAFe"); stringArrayList.add("Best Practices for Your Daily Scrum Meeting"); stringArrayList.add("10 Tips for Effective Agile Sprint Planning"); stringArrayList.add("5 Tips for Running a Successful Agile Project Kickoff"); stringArrayList.add("Agile vs Prototyping"); if (selected.equals("The Ultimate Introduction To Agile Project Management")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Why Do We Need to Be Agile?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Feasibility")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Justification")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Initiation")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Project Brief")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Culture and Ways of Working")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Backlog")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("High-level Estimation and Prioritization")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Roadmap and Storymaps")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Release Planning")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Product Iterations")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Sprinting")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Defining Done")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Continuous Improvement")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Beyond Agile Project Management")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("6 Productivity Hacks That You Didn’t Know About")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("SEO vs PPC Which One Creates More Advantages")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/18.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How Agile Practices Improve Release Management?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/19.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How having a Lean-Agile Mindset benefits agile teams?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/20.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Top agile myths and misconceptions, in agile project management")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/21.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Program Increment Planning Tips for Release Train Engineers (RTE) in SAFe")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/22.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Best Practices for Your Daily Scrum Meeting")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/23.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("10 Tips for Effective Agile Sprint Planning")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/24.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("5 Tips for Running a Successful Agile Project Kickoff")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/25.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Agile vs Prototyping")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/Agile2/26.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }