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"?> | |
| <android.support.constraint.ConstraintLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| tools:context="org.nixan.sandboxapp.MainActivity"> | |
| <EditText |
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
| <elements id="2"> | |
| <enumerationField name="account_type" title="Тип счета"> | |
| <values> | |
| <value title="Номер счета" value="1" /> | |
| <value title="Номер карты" value="2" /> | |
| </values> | |
| <dependancy> | |
| <targets> | |
| <target name="account_type" regularExpression="^1$" /> | |
| </targets> |
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
| Attribute attribute = new Attribute("name", Torrent.class.getMethod("setName", String.class)); |
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
| public class Attribute { | |
| private final String mAttributeName; | |
| private final Method mSetter; | |
| public Attribute(String attributeName, Method setter) { | |
| mAttributeName = attributeName; | |
| mSetter = setter; | |
| } |
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
| xmlns:WP7=”clr-namespace:Main.WP7;assembly=Main.WP7″ |
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
| public int random() { | |
| // We've rolled the dice | |
| return 4; | |
| } |
NewerOlder