We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 141da11 commit 9dd0938Copy full SHA for 9dd0938
android/src/main/java/com/variabletextinput/view/VariableTextInput.java
@@ -527,9 +527,14 @@ public void getNetWorkBitMap(RichTextBean richTextBean){
527
InputStream input = connection.getInputStream();
528
bitmap = BitmapFactory.decodeStream(input);
529
connection.disconnect();
530
- bitmapToInput(bitmap,richTextBean);
+ editText.post(new Runnable() {
531
+ @Override
532
+ public void run() {
533
+ bitmapToInput(bitmap, richTextBean);
534
+ }
535
+ });
536
}catch (Exception e){
- //todo
537
+ e.printStackTrace();
538
}
539
}).start();
540
0 commit comments