YorkShen commented on a change in pull request #2031: issue#1954 Add 
getWXRenderListener function
URL: https://github.com/apache/incubator-weex/pull/2031#discussion_r247038253
 
 

 ##########
 File path: android/sdk/src/main/java/com/taobao/weex/ui/view/WXTextView.java
 ##########
 @@ -86,7 +86,7 @@ public WXGesture getGestureListener() {
 
   @Override
   public CharSequence getText() {
-    return textLayout.getText();
+    return textLayout != null ? textLayout.getText() : null;
 
 Review comment:
   If you need fix this NPE problem, make another PR, please

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to