forked from syrjs/core
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request syrjs#118 from dmikey/derek-anderoid-1
Derek anderoid 1
- Loading branch information
Showing
17 changed files
with
348 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
android/app/src/main/java/com/example/dereanderson/syrnativeandroid/SyrAnimator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.example.dereanderson.syrnativeandroid; | ||
|
||
/** | ||
* Syr Project | ||
* https://syr.js.org | ||
* Created by Derek Anderson on 1/8/18. | ||
*/ | ||
public class SyrAnimator { | ||
} |
15 changes: 15 additions & 0 deletions
15
android/app/src/main/java/com/example/dereanderson/syrnativeandroid/SyrBaseModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.example.dereanderson.syrnativeandroid; | ||
|
||
import android.content.Context; | ||
import android.view.View; | ||
|
||
import org.json.JSONObject; | ||
|
||
/** | ||
* Created by dereanderson on 1/9/18. | ||
*/ | ||
|
||
public interface SyrBaseModule { | ||
String getName(); | ||
View render(JSONObject component, Context context); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
android/app/src/main/java/com/example/dereanderson/syrnativeandroid/SyrBundle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
android/app/src/main/java/com/example/dereanderson/syrnativeandroid/SyrBundleManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
android/app/src/main/java/com/example/dereanderson/syrnativeandroid/SyrEvents.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.example.dereanderson.syrnativeandroid; | ||
|
||
/** | ||
* Syr Project | ||
* https://syr.js.org | ||
* Created by Derek Anderson on 1/8/18. | ||
*/ | ||
public class SyrEvents { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
android/app/src/main/java/com/example/dereanderson/syrnativeandroid/SyrInstanceManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
android/app/src/main/java/com/example/dereanderson/syrnativeandroid/SyrMethod.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.example.dereanderson.syrnativeandroid; | ||
|
||
/** | ||
* Syr Project | ||
* https://syr.js.org | ||
* Created by Derek Anderson on 1/8/18. | ||
*/ | ||
|
||
import java.lang.annotation.Retention; | ||
|
||
import static java.lang.annotation.RetentionPolicy.RUNTIME; | ||
|
||
@Retention(RUNTIME) | ||
public @interface SyrMethod {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.