Skip to content

Commit bfc1591

Browse files
committed
add control
1 parent b58c06a commit bfc1591

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

spsedittextview/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
minSdkVersion 19
99
targetSdkVersion 28
1010
versionCode 1
11-
versionName "1.0"
11+
versionName "1.0.2"
1212

1313
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1414
consumerProguardFiles 'consumer-rules.pro'

spsedittextview/src/main/java/com/spisoft/spsedittextview/SpsEditText.java

+4
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ public boolean onKeyDown(int keyCode, KeyEvent event) {
243243
}
244244
//-------------------------------- Function Attributes
245245

246+
public String GetText(){
247+
return MText.getText().toString();
248+
}
249+
246250
public void SetHint(String mHint){
247251
MText.setHint(mHint);
248252
}

0 commit comments

Comments
 (0)