Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Issue/5 project restructure#6

Merged
daniloercoli merged 25 commits intomasterfrom
issue/5-project-restructure
Apr 17, 2018
Merged

Issue/5 project restructure#6
daniloercoli merged 25 commits intomasterfrom
issue/5-project-restructure

Conversation

@mzorz
Copy link
Copy Markdown
Contributor

@mzorz mzorz commented Apr 16, 2018

Fixes #5

This PR brings the new library structure as defined and proposed by @maxme following the https://github.com/wordpress-mobile/react-native-recyclerview-list project

.
├── example
│   ├── android
│   ├── ios (doesn't exist yet)
│   ├── app.json
│   ├── index.android.js
│   ├── index.ios.js (doesn't exist yet)
│   └── package.json
├── android
│   └── src
│      └── main
│          └── java
│              └── org
│                  └── wordpress
│                      └── mobile
│                          └── ReactNativeAztec
│                              ├── ReactAztecBlurEvent.java
│                              ├── ReactAztecEndEditingEvent.java
│                              ├── ReactAztecFocusEvent.java
│                              ├── ReactAztecManager.java
│                              ├── ReactAztecPackage.java
│                              ├── ReactAztecText.java
│                              └── ReactAztecView.java
├── src
│   └── AztecView.js
├── index.js
├── package.json
├── LICENSE.md
└── README.md

Thank you @maxme for the guidance and plumbing work

cc @daniloercoli @maxme

mzorz and others added 23 commits April 12, 2018 14:48
… config to package code from example's folder
… remove activities and fragments from the library
…ld ReactAztecText and ReactAztecView references
…bile/react-native-aztec into issue/5-project-restructure
@daniloercoli daniloercoli self-assigned this Apr 16, 2018
@@ -45,7 +45,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
ReactRootView reactRootView = new ReactRootView(getContext());
Bundle RNProps = new Bundle();
RNProps.putString("text", EXAMPLE);
Copy link
Copy Markdown
Contributor

@maxme maxme Apr 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why we have this on the Java side. Should we set the text from the js example file instead (example/App.js)?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, we should set the content from JS at this point of the project.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good! addressed in 0dc4dd4

@daniloercoli
Copy link
Copy Markdown
Contributor

Looks good! :shipit:

@daniloercoli daniloercoli merged commit e464770 into master Apr 17, 2018
@daniloercoli daniloercoli deleted the issue/5-project-restructure branch April 17, 2018 10:15
@daniloercoli daniloercoli mentioned this pull request Apr 17, 2018
9 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants