Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard not opens with setTextIsSelectable #122

Closed
SagarPanwala opened this issue Apr 22, 2015 · 5 comments
Closed

Keyboard not opens with setTextIsSelectable #122

SagarPanwala opened this issue Apr 22, 2015 · 5 comments

Comments

@SagarPanwala
Copy link

I have to open keyboard with completionView.setTextIsSelectable(true);
Here is my code ,

    completionView = (ContactsCompletionView)findViewById(R.id.searchView);
    completionView.setAdapter(adapter);
    completionView.setTokenListener(this);
    completionView.setTextIsSelectable(true);
    char[] splitChar = {',', ';', ' ' };
    completionView.setSplitChar(splitChar);
@mgod
Copy link
Contributor

mgod commented Apr 22, 2015

I'd intentionally disabled text selection because the underlying text object does not accurately represent the tokens in the field. Can you tell me a little more about what you're using selection for?

@SagarPanwala
Copy link
Author

I'm trying to paste single and multiple emails.
Also want to support keyboard and with splichar.
So please help on this.

@mgod
Copy link
Contributor

mgod commented Apr 22, 2015

Ah, that's a somewhat different issue. Pasting into the field is currently not working, which I see you're commenting on in #95. Rather than enabling text selection, call setLongClickable(true) which will let you pull up the paste menu item without letting you select text. I have some time to look into this today. How far into implementation are you?

@SagarPanwala
Copy link
Author

Actually , I didn't get any success.I'm trying to achieve pasting and token with single and multiple email.

@mgod
Copy link
Contributor

mgod commented May 28, 2015

I haven't solved this (pasting emails is a little more complicated than I anticipated), but I'm marking this as a dup of #95

@mgod mgod closed this as completed May 28, 2015
@mgod mgod added the duplicate label May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants