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
<parameter id=”activityClass” | |
name=”Activity Name” | |
type=”string” | |
constraints=”class|unique|nonempty” | |
visibility=”!isFragment” | |
default=”MainActivity” | |
help=”The name of the activity class to create”/> |
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
if(isFragmentCheckBoxEnabled){ | |
view.setVisibility(View.GONE) | |
}else{ | |
view.setVisibility(View.VISIBLE) | |
} |
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
<parameter id=”isToolbar” | |
name=”Need Toolbar” | |
type=”boolean” | |
default=”false” | |
visibility=”!isFragment” | |
help=”If true, this activity will have a Toolbar”/> |
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
<parameter id="features" name="RecyclerView Style" type="enum" default="simple" help="Choose your own RecyclerView style"> | |
<option id="simple">Simple RecyclerView</option> | |
<option id="banner">Banner RecyclerView</option> | |
<option id="radio">RadioButton Recyclerview</option> | |
<option id="checkbox">Checkbox Recyclerview</option> | |
<option id="toggle">Toggle Recyclerview</option> | |
<option id="googleplay">GooglePlay like Recyclerview</option> | |
</parameter> |
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
<dependency mavenUrl=”com.android.support:recyclerview-v7:${buildApi}.+”/> |
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
<merge from="AndroidManifest.xml.ftl" to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" /> |
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
<instantiate from="src/app_package/MainActivity.java.ftl" | |
to="${escapeXmlAttribute(srcOut)}/${activityClass}.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
<copy from="res/drawable" | |
to="${escapeXmlAttribute(resOut)}/drawable" /> |
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
<open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" /> |