stringArrayList.add("9 Employee Retention Strategies to Retain Top Talent"); stringArrayList.add("The Problem With Points-Based Rewards Systems"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 1"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 2"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 3"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 4"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 5"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 6"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 7"); stringArrayList.add("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 8"); stringArrayList.add("What is employee engagement?"); stringArrayList.add("Key Strategies to increase employee engagement; better recognition, and good employee survey practices part - 1"); stringArrayList.add("Key Strategies to increase employee engagement; better recognition, and good employee survey practices part – 2"); stringArrayList.add("What Makes Your Team Fail? Three Strategies to Avoid Disaster"); stringArrayList.add("Employee loyalty is not a given, it has to be earned"); stringArrayList.add("Dead Simple Ways to Improve Your Company Culture part -1"); stringArrayList.add("Dead Simple Ways to Improve Your Company Culture part -2"); stringArrayList.add("Open Office Environments Suck And Hr Knows This"); stringArrayList.add("What Companies Don’t Get About Work Life Integration"); stringArrayList.add("Creating company culture employees crave: 4 easy steps"); stringArrayList.add("4 Key Elements of a Successful Labor Law Posting Strategy #MindTheGap"); if (selected.equals("9 Employee Retention Strategies to Retain Top Talent")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Problem With Points-Based Rewards Systems")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 1")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 2")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 3")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 4")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 5")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 6")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 7")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Thoughtful Employee Recognition & Appreciation Ideas for 2019 Part - 8")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is employee engagement?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Key Strategies to increase employee engagement; better recognition, and good employee survey practices part - 1")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Key Strategies to increase employee engagement; better recognition, and good employee survey practices part – 2")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What Makes Your Team Fail? Three Strategies to Avoid Disaster")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Employee loyalty is not a given, it has to be earned")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Dead Simple Ways to Improve Your Company Culture part -1")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Dead Simple Ways to Improve Your Company Culture part -2")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Open Office Environments Suck And Hr Knows This")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/18.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What Companies Don’t Get About Work Life Integration")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/19.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Creating company culture employees crave: 4 easy steps")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/20.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("4 Key Elements of a Successful Labor Law Posting Strategy #MindTheGap")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/21.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }