package com.benli.randomkeyboard;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;

import com.benli.keyboard.KeyboardHelper;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        new KeyboardHelper(this).addEditText((EditText) findViewById(R.id.edittext1)).setShouldRandom(true);
        new KeyboardHelper(this).addEditText((EditText) findViewById(R.id.edittext2)).setShouldRandom(true);
    }
}

@@ -421,32 +421,49 @@
 oardHelper(this)
+%0A                
 .addEditText((Ed
@@ -503,64 +503,25 @@
 t1))
-.setShouldRandom(true);%0A        new KeyboardHelper(this)
+%0A                
 .add
@@ -569,16 +569,33 @@
 ttext2))
+%0A                
 .setShou

添加统一调用示例；