El Arsenal de Android – SDK

Información sobre este proyecto


SDK para cualquier problema para simplificar el desarrollo de aplicaciones de Android

Lanzamiento de la versión

Esta es la última versión

¿¿Qué hay de nuevo??

* Update Code *
* Enhance Performance *
* Update: FrogoAdmobActivity to FrogoActivity *
* All Frogo Core Android Development *
* Please Re Import Class and Function *
* Renaming Package frogosdk to sdk *
* Update Android Gradle Plugin 7.0.2 *
* Delete Unused Import and Resources *
* Frogo Music *
* Migrate groovy to Kotlin DSL *

Descarga este proyecto

Paso 1. Agregue el repositorio de JitPack a su archivo de compilación (build.gradle: Project)

Gradle maravilloso

// Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Kotlin DSL Gradle

// Add it in your root build.gradle.kts at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url = uri("https://jitpack.io") }
    }
}

Paso 2. Agregue la dependencia (build.gradle: Module)

#### <Option 1> Groovy Gradle

    dependencies {
        // library frogo-sdk
        implementation 'com.github.frogobox:frogo-android-sdk:2.0.6'
    }

#### <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-sdk
        implementation("com.github.frogobox:frogo-android-sdk:2.0.6")
    }

Paso 3. Función de este SDK

SDK de todas las clases

FrogoActivity
FrogoApiCallback
FrogoApiClient
FrogoApiModel
FrogoComposeActivity
FrogoConstant
FrogoDate
FrogoFragment
FrogoFunc
FrogoLiveEvent
FrogoLocalCallback
FrogoMusic
FrogoNavigation
FrogoPreference

FrogoActividad

fun setupDetailActivity(title: String)

fun setupChildFragment(frameId: Int, fragment: Fragment)

fun showToast(message: String)

fun setupEventEmptyView(view: View, isEmpty: Boolean)

fun setupEventProgressView(view: View, progress: Boolean)

fun checkExtra(extraKey: String): Boolean

fun <Model> baseFragmentNewInstance(
    fragment: FrogoFragment<*>,
    argumentKey: String,
    extraDataResult: Model
)

fun verifySignature()

fun readSignature()

fun verifyInstallerId()

fun verifyUnauthorizedApps()

fun verifyStores()

fun verifyDebug()

fun verifyEmulator()

fun showApkSignatures()

FrogoFragmento

    fun setupChildFragment(frameId: Int, fragment: Fragment)

    fun checkArgument(argsKey: String): Boolean

    fun setupEventEmptyView(view: View, isEmpty: Boolean)

    fun setupEventProgressView(view: View, progress: Boolean)

    fun showToast(message: String)

    fun <Model> baseNewInstance(argsKey: String, data: Model)

FrogoFunc

    fun createFolderPictureVideo()

    fun getVideoFilePath(): String

    fun createDialogDefault(
        context: Context,
        title: String,
        message: String,
        listenerYes: () -> Unit,
        listenerNo: () -> Unit
    )

    fun noAction(): Boolean

    fun randomNumber(start: Int, end: Int): Int

    fun isNetworkAvailable(context: Context): Boolean?

    fun <T> fetchRawData(mContext: Context, sourceRaw: Int): ArrayList<T>

    fun <T> fetchRawData(mContext: Context, sourceRaw: Int, shuffle: Boolean): ArrayList<T>

    fun getJsonFromAsset(context: Context, filename: String): String?

    fun <T> getArrayFromJsonAsset(context: Context, filename: String): MutableList<T>

    fun getDrawableString(context: Context, nameResource: String): Int

    fun getRawString(context: Context, nameResource: String): Int

FrogoMusic

    fun playMusic(context: Context, musicFile: Int)

    fun stopMusic()

    fun pauseMusic()

FrogoDate

    fun getTimeStamp(): String

    fun getTimeNow(): String

    fun getCurrentDate(format: String): String

    fun dateTimeToTimeStamp(date: String?): Long

    fun getCurrentUTC(): String

    fun timetoHour(date: String?): String

    fun dateTimeTZtoHour(date: String?): String

    fun DateTimeMonth(date: String?): String

    fun dateTimeSet(date: String?): String

    fun dateTimeProblem(date: String?): String

    fun getTimeAgo(time: Long): String?

    fun compareDate(newDate: String): String?

    fun messageDate(newDate: String): String?

    fun getDataChat(time: Long): String?

    fun convertClassificationDate(string: String?): String

    fun convertDateNewFormat(string: String?): String

    fun convertLongDateNewFormat(string: String?): String

    fun revertFromLongDateNewFormat(string: String?): String

    fun convertTargetDate(string: String?): String

    fun diffTime(timeStart: String, timeEnd: String): Long

FrogoComposeActivity

colaborador

Muy abierto a cualquiera, escribiré su nombre debajo de esto, por favor contribuya enviándome un correo electrónico

  • Correo a faisalamircs@gmail.com
  • Asunto: Github _ [Github-Username-Account] _ [Language] _ [Repository-Name]
  • Ejemplo: Github_amirisback_kotlin_admob-helper-deployment

Nombre de la contribución

  • Muhammad Faisal Amir
  • Lista de espera
  • Lista de espera

Esperamos tu contribución

¡¡¡Precaución!!!

  • Disfruta y no olvides tu tenedor y dale una estrella
  • No olvides seguir mi cuenta de Github

.

Compruebe también

El arsenal de Android: la cámara

Ser permitido cámara casera Seleccione Foto Enviar resultado Instalar Soporta API 21 y posteriores Paso …

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *