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
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="fill_parent" | |
| android:layout_height="match_parent"> | |
| <!-- TextView to welcome users into the app --> | |
| <TextView | |
| android:id="@id/logo_text" |
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
| open class AwesomeFragment(var name: String): Fragment(), TextWatcher { | |
| public var textToPrependOnTVAfterTextChanged = "Hello " | |
| init { | |
| // Make sure we don't crash if name is null | |
| name = name ?: "" | |
| } | |
| override fun onCreateView( |