@@ -35,10 +35,10 @@ protected void onCreate(Bundle savedInstanceState) {
35
35
setSupportActionBar ((Toolbar ) findViewById (R .id .toolbar ));
36
36
37
37
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 )));
42
42
43
43
44
44
ListView list = (ListView ) findViewById (android .R .id .list );
@@ -134,7 +134,7 @@ private static class Demo {
134
134
135
135
public Demo (Context context , int titleResId , int descriptionResId , String uri , Intent intent ){
136
136
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 ));
138
138
this .title = ExtendedHtml .fromHtml (context .getString (titleResId ));
139
139
this .description = ExtendedHtml .fromHtml (context .getString (descriptionResId ));
140
140
}
0 commit comments