IBOutlets, IBActions AndroidDev eco, Visual Studio.
IBOUtlet .
Button but1 = (Button) findViewById(R.layout.but1)
IBAction .
→
b1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
}
});
→
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:onClick="button2Clicked"
android:text="@string/text_but_1" />
xCode .
ibOutlets ibActions - .
, xml
Visual Studio , xCode.
, , Android Developer, className.config.cs
androidStudio. , xCode VisualStudio. , , .
Android Developer Visual Studio , xCode.
xCode . .
, .
Alt + Enter.
AndDev
# java , , , .
Alt + Enter! AndDev .
share