This file contains hidden or 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
| package be.ppareit.android; | |
| import android.app.Activity; | |
| import android.view.View; | |
| /** | |
| * Instead of calling | |
| * RadioButton radioButton = (RadioButton) findViewById(R.id.radio_toggle); | |
| * You can call | |
| * RadioButton radioButton = findView(this, R.id.radio_toggle); |
This file contains hidden or 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
| package ppareit.util | |
| // Add following import to any file thats wants to use StringBuilder | |
| import static extension ppareit.util.StringBuilderUtil.* | |
| class StringBuilderUtil { | |
| /* | |
| * Make += work correctly on StringBuilder objects. | |
| */ |