private void applyRetrievedLengthLimit(){
  Long friendly_msg_length=mFirebaseRemoteConfig.getLong("friendly_msg_length");
  mMessageEditText.setFilters(new InputFilter[]{new InputFilter.LengthFilter(friendly_msg_length.intValue())});
  Log.d(TAG,"FML is: " + friendly_msg_length);
}

private void applyRetrievedLengthLimit ( ) { Long friendly_msg_length = mFirebaseRemoteConfig . getLong ( "friendly_msg_length" ) ; mMessageEditText . setFilters ( new InputFilter [ ] { new InputFilter . LengthFilter ( friendly_msg_length . intValue ( ) ) } ) ; Log . d ( TAG , "FML is: " + friendly_msg_length ) ; }
apply retrieved length limit to edit text field . this result may be fresh from the server or it may be from cached values .
