@@ -35,10 +35,10 @@ protected void onCreate(Bundle savedInstanceState) {
3535 setSupportActionBar ((Toolbar ) findViewById (R .id .toolbar ));
3636
3737 ArrayList <Demo > demos = new ArrayList <>(1 );
38- demos .add (new Demo (this , R .string .demo_examples_title , R .string .demo_examples_description , "https://github.com/NeoTech-Software/Android-Retainable-Tasks " , new Intent (this , DemoActivityBasic .class )));
39- demos .add (new Demo (this , R .string .demo_serial_title , R .string .demo_serial_description , "https://github.com/NeoTech-Software/Android-Retainable-Tasks " , new Intent (this , DemoActivitySerial .class )));
40- demos .add (new Demo (this , R .string .demo_fragments_title , R .string .demo_fragments_description , "https://github.com/NeoTech-Software/Android-Retainable-Tasks " , new Intent (this , DemoActivityFragments .class )));
41- demos .add (new Demo (this , R .string .demo_no_compat_title , R .string .demo_no_compat_description , "https://github.com/NeoTech-Software/Android-Retainable-Tasks " , new Intent (this , DemoActivityV11 .class )));
38+ demos .add (new Demo (this , R .string .demo_examples_title , R .string .demo_examples_description , "org/neotech/app/retainabletasksdemo/activity/DemoActivityBasic.java " , new Intent (this , DemoActivityBasic .class )));
39+ demos .add (new Demo (this , R .string .demo_serial_title , R .string .demo_serial_description , "org/neotech/app/retainabletasksdemo/activity/DemoActivitySerial.java " , new Intent (this , DemoActivitySerial .class )));
40+ demos .add (new Demo (this , R .string .demo_fragments_title , R .string .demo_fragments_description , "org/neotech/app/retainabletasksdemo/activity/DemoActivityFragments.java " , new Intent (this , DemoActivityFragments .class )));
41+ demos .add (new Demo (this , R .string .demo_no_compat_title , R .string .demo_no_compat_description , "org/neotech/app/retainabletasksdemo/activity/DemoActivityV11.java " , new Intent (this , DemoActivityV11 .class )));
4242
4343
4444 ListView list = (ListView ) findViewById (android .R .id .list );
@@ -134,7 +134,7 @@ private static class Demo {
134134
135135 public Demo (Context context , int titleResId , int descriptionResId , String uri , Intent intent ){
136136 this .intentStart = intent ;
137- this .intentView = new Intent (Intent .ACTION_VIEW , Uri .parse (uri ));
137+ this .intentView = new Intent (Intent .ACTION_VIEW , Uri .parse ("https://github.com/NeoTech-Software/Android-Retainable-Tasks/tree/master/demo/src/main/java/" + uri ));
138138 this .title = ExtendedHtml .fromHtml (context .getString (titleResId ));
139139 this .description = ExtendedHtml .fromHtml (context .getString (descriptionResId ));
140140 }
0 commit comments