Skip to content

Instantly share code, notes, and snippets.

View serso's full-sized avatar

Sergey Solovyev serso

View GitHub Profile
public class TestProguardActivity extends AppCompatActivity {
private final Executor background = Executors.newSingleThreadExecutor();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
final TextView view = new TextView(this);
setContentView(view);
@serso
serso / MyEditText.java
Created August 10, 2015 11:39
EditText for tydlig
private class MyEditText extends EditText {
public MyEditText() {
super(EasyEditSpanActivity.this);
}
@Override
protected void onSelectionChanged(int selStart, int selEnd) {
super.onSelectionChanged(selStart, selEnd);
if (selStart == -1 || selEnd == -1) {
return;

Keybase proof

I hereby claim:

  • I am serso on github.
  • I am serso (https://keybase.io/serso) on keybase.
  • I have a public key whose fingerprint is 3CE6 4822 ADC2 E4CF 51E1 C4E9 9169 2420 FAFB 132B

To claim this, I am signing this object: