<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
package com.emil.android.util; | |
import android.content.Context; | |
import android.net.ConnectivityManager; | |
import android.net.NetworkInfo; | |
import android.telephony.TelephonyManager; | |
/** | |
* Check device's network connectivity and speed | |
* @author emil http://stackoverflow.com/users/220710/emil |
public class PlayPauseView extends AppCompatImageView { | |
public static final int STATE_PLAY = 1; | |
public static final int STATE_PAUSE = 2; | |
private AnimatedVectorDrawableCompat mPlayToPauseAnim, mPauseToPlay; | |
private Animation mFadeOutAnim, mFadeInAnim; | |
public PlayPauseView(Context context) { | |
super(context); | |
Init(context); |
apply plugin: 'com.android.library' | |
apply plugin: 'com.jfrog.artifactory' | |
apply plugin: 'maven-publish' | |
def packageName = 'codeinputlib' | |
def libraryVersion = '1.0.0' | |
buildscript { | |
repositories { | |
jcenter() |
0815.ru | |
0wnd.net | |
0wnd.org | |
10minutemail.co.za | |
10minutemail.com | |
123-m.com | |
1fsdfdsfsdf.tk | |
1pad.de | |
20minutemail.com | |
21cn.com |
import android.content.Context | |
import android.net.ConnectivityManager | |
import android.net.Network | |
import android.net.NetworkCapabilities | |
import android.net.NetworkRequest | |
import android.os.Bundle | |
import android.widget.TextView | |
import androidx.appcompat.app.AppCompatActivity | |
import androidx.lifecycle.ViewModel | |
import androidx.lifecycle.ViewModelProvider |
import androidx.compose.animation.* | |
import androidx.compose.animation.core.tween | |
import androidx.compose.foundation.layout.Arrangement | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.material.MaterialTheme | |
import androidx.compose.material.Text | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.collectAsState | |
import androidx.compose.runtime.getValue |
import androidx.compose.animation.core.* | |
import androidx.compose.foundation.background | |
import androidx.compose.foundation.layout.* | |
import androidx.compose.foundation.shape.CircleShape | |
import androidx.compose.material.MaterialTheme | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.LaunchedEffect | |
import androidx.compose.runtime.remember | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.graphics.Color |
Africa/Abidjan | |
Africa/Accra | |
Africa/Addis_Ababa | |
Africa/Algiers | |
Africa/Asmara | |
Africa/Asmera | |
Africa/Bamako | |
Africa/Bangui | |
Africa/Banjul | |
Africa/Bissau |