Skip to content

Commit 06636d7

Browse files
committed
Add example of extending a nested class
1 parent cb22af8 commit 06636d7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package net.servicestack.android;
2+
3+
/**
4+
* Created by mythz on 6/30/2015.
5+
*/
6+
public class ExtendedRockstar extends dto.Rockstar {
7+
public Integer ExtendedId = null;
8+
9+
public ExtendedRockstar(Integer extendedId) {
10+
ExtendedId = extendedId;
11+
super.Id = extendedId;
12+
}
13+
}

0 commit comments

Comments
 (0)