Skip to content

Custom Views and Attributes

Kiran Kumar edited this page Jan 23, 2017 · 2 revisions

You can plug in your own views into proteus by extending a WrappableParser and calling registerHandler

For e.g.

public class CircleViewParser extends WrappableParser<CircleView> { /* Your code here */}

and then

layoutBuilder.registerHandler("CircleView", new CircleViewParser(parser));