0

実行時に値を Marionette.CompositeView に動的に渡す方法は? Javaのように、次のようなメソッドを作成します

package com.test.poc;

public class SampleMethod {
    public int add(int a, int b) {
        return a + b;
    }

    public static void main(String[] args) {
        SampleMethod method = new SampleMethod();
        int firstValue = 90, secondValue = 90;
        System.out.println("add : " + method.add(firstValue, secondValue));

    }
}

上記は、引数を作成して渡し、それらを操作する方法のように、誰でも理解できる単純な Java コードMarionette.CompositeViewですか?

よろしくお願いします

4

1 に答える 1