WaitForTheInternet

The library to handle lost of internet connection

License

License

Categories

Categories

Net
GroupId

GroupId

com.ccbsoftware
ArtifactId

ArtifactId

waitfortheinternet
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

WaitForTheInternet
The library to handle lost of internet connection
Project URL

Project URL

https://github.com/ouvigna/WaitForTheInternet
Source Code Management

Source Code Management

https://github.com/ouvigna/WaitForTheInternet

Download waitfortheinternet

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
com.android.support » appcompat-v7 jar 22.2.0

Project Modules

There are no modules declared in this project.

WaitForTheInternet

Adding to your project

Include it in your gradle dependencies:

compile 'com.ccbsoftware:waitfortheinternet:1.0.0'

Usage

WaitForTheInternet
	.with(context)
    .action(new WaitForTheInternet.OnInternetAction() {
        @Override
        public void onInternet() {
            // DO SOMETHING WHEN INTERNET IS AVAILABLE;
        }
    })
    .execute();

License

The MIT License (MIT)

Copyright (c) 2015 César Pérez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Versions

Version
1.0.0
0.1