Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin with basic support for UIKit -> Android widget conversions #67

Open
angelolloqui opened this issue Mar 17, 2018 · 0 comments

Comments

@angelolloqui
Copy link
Owner

angelolloqui commented Mar 17, 2018

Optional plugin that could transform some types:

UIView -> View
UITextField -> EditText
UIButton -> Button
UILabel -> Label
UITableView -> RecyclerView
UIScrollView -> ScrollView
UIImageView -> ImageView
...

Then, as part of the same or other plugin, we could also make use of Butterknife (http://jakewharton.github.io/butterknife/) to map @IBOutlet to @BindView(R.id.<variable_name>) and @IBAction to @OnClick(), which is not always the event we want but most of the times.

Resulting code will be far from funcional, but of a good starting point when converting UIKIt views to Android views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant