Posted on 1 Comment

The Evolution of Android Network Access

Modern background execution in Android [https://android-developers.googleblog.com/2018/10/modern-background-execution-in-android.html]

Background Processing in Android [https://medium.com/@julian_falcionelli/background-processing-in-android-575fd4ecf769]
Background Processing in Android (Part 2) [https://medium.com/major-league/background-processing-in-android-part-2-88c73c24a2ac]
Continue reading The Evolution of Android Network Access

Posted on Leave a comment

LinkifyCompat, get Urls

import android.support.v4.text.util.LinkifyCompat;

@Nullable
    public void find(@NonNull String text) {
        List<String> urls = getLinkifiedUrls(text);
        for (String url : urls) {
          //
        }
    }

    private List<String> getLinkifiedUrls(String text) {
        SpannableString ss = new SpannableString(text);
        LinkifyCompat.addLinks(ss, Linkify.WEB_URLS);
        URLSpan[] urls = ss.getSpans(0, ss.length(), URLSpan.class);
        ArrayList<String> result = new ArrayList<>();
        for (URLSpan url : urls) {
            result.add(url.getURL());
        }
        return result;
    }
Posted on Leave a comment

GraphQL API

How to Create a GraphQL API in Kotlin

 

https://habrahabr.ru/post/326986/

GitHub GraphQL API (https://developer.github.com/v4/explorer/)

[https://habr.com/company/jugru/blog/428517/]

What is GraphQL: History, Components, and Ecosystem [https://levelup.gitconnected.com/what-is-graphql-87fc7687b042]

Миграция REST API на GraphQL [ https://nuancesprog.ru/p/4417 ]

Эмпирический анализ схем GraphQL. Часть 1 [ https://nuancesprog.ru/p/5832 ] [ https://nuancesprog.ru/p/5843 ]