ZStream

Z-Stream is a HTTP library that makes networking for Android apps easier and, most importantly, faster.

Лицензия

Лицензия

Группа

Группа

com.zeoflow
Идентификатор

Идентификатор

z-stream
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

ZStream
Z-Stream is a HTTP library that makes networking for Android apps easier and, most importantly, faster.
Ссылка на сайт

Ссылка на сайт

https://github.com/zeoflow/z-stream
Система контроля версий

Система контроля версий

https://github.com/zeoflow/z-stream

Скачать z-stream

Имя Файла Размер
z-stream-1.0.0.pom
z-stream-1.0.0.aar 158 KB
z-stream-1.0.0-sources.jar 118 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.zeoflow/z-stream/ -->
<dependency>
    <groupId>com.zeoflow</groupId>
    <artifactId>z-stream</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.zeoflow/z-stream/
implementation 'com.zeoflow:z-stream:1.0.0'
// https://jarcasting.com/artifacts/com.zeoflow/z-stream/
implementation ("com.zeoflow:z-stream:1.0.0")
'com.zeoflow:z-stream:aar:1.0.0'
<dependency org="com.zeoflow" name="z-stream" rev="1.0.0">
  <artifact name="z-stream" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.zeoflow', module='z-stream', version='1.0.0')
)
libraryDependencies += "com.zeoflow" % "z-stream" % "1.0.0"
[com.zeoflow/z-stream "1.0.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
androidx.annotation » annotation jar 1.1.0
org.chromium.net » cronet-embedded jar 76.3809.111

Модули Проекта

Данный проект не имеет модулей.

Z-Stream

Intro

Z-Stream is an HTTP library that makes networking for Android apps easier and, most importantly, faster.

Getting Started

For information on how to get started with Z-Stream, take a look at our Getting Started guide.

Submitting Bugs or Feature Requests

Bugs or feature requests should be submitted at our GitHub Issues section.

How does it work?

1. Depend on our library

Z-Stream for Android is available through Google's Maven Repository. To use it:

  1. Open the build.gradle file for your application.

  2. Make sure that the repositories section includes Google's Maven Repository google(). For example:

      allprojects {
        repositories {
          google()
          jcenter()
        }
      }
  3. Add the library to the dependencies section:

      dependencies {
        // ...
        implementation 'com.zeoflow:z-stream:<version>'
        // ...
      }

2. Activity/Fragment Class

MainActivity.java

public class MainActivity extends AppCompatActivity
{
    //..
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState)
    {
        //..
        String url = "opensource.zeoflow.com/zstream";
        JsonObjectRequest jsonObjectRequest = new JsonObjectRequest
            (Request.Method.GET, url, null, new Response.Listener<JSONObject>()
            {

                @Override
                public void onResponse(JSONObject response)
                {
                    textView.setText("Response: " + response.toString());
                }
            }, new Response.ErrorListener()
            {

                @Override
                public void onErrorResponse(ZStreamError error)
                {
                    // TODO: Handle error

                }
            });

        // Access the RequestQueue through your singleton class.
        MySingleton.getInstance(this).addToRequestQueue(jsonObjectRequest);
        //..
    }
    //..
}

License

Copyright 2020 ZeoFlow

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
com.zeoflow

ZeoFlow

From ZeoFlow with ❤️ to Developers

Версии библиотеки

Версия
1.0.0