rename template to gyromin

This commit is contained in:
Breval Ferrari 2025-03-12 01:46:24 -04:00
parent 5427592388
commit 7bfbf4253a
No known key found for this signature in database
GPG key ID: F71E304D6400AB8E
35 changed files with 61 additions and 61 deletions

View file

@ -12,11 +12,11 @@ hilt {
} }
android { android {
namespace 'com.ferhatozcelik.jetpackcomposetemplate' namespace 'golf.fish.gyromin'
compileSdk appCompileSdkVersion compileSdk appCompileSdkVersion
defaultConfig { defaultConfig {
applicationId "com.ferhatozcelik.jetpackcomposetemplate" applicationId "golf.fish.gyromin"
minSdk appMinSdkVersion minSdk appMinSdkVersion
targetSdk appTargetSdkVersion targetSdk appTargetSdkVersion
versionCode 1 versionCode 1

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate package golf.fish.gyromin
import androidx.test.platform.app.InstrumentationRegistry import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.ext.junit.runners.AndroidJUnit4

View file

@ -13,12 +13,12 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.MyApplication" android:theme="@style/Theme.Gyromin"
tools:targetApi="31"> tools:targetApi="31">
<activity <activity
android:name=".ui.activitys.MainActivity" android:name=".ui.activitys.MainActivity"
android:exported="true" android:exported="true"
android:theme="@style/Theme.MyApplication"> android:theme="@style/Theme.Gyromin">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View file

@ -1,10 +0,0 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.repository
import com.ferhatozcelik.jetpackcomposetemplate.data.dao.ExampleDao
import com.ferhatozcelik.jetpackcomposetemplate.data.remote.AppApi
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class ExampleRepository @Inject constructor(private val appApi: AppApi, private val exampleDao: ExampleDao)

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate package golf.fish.gyromin
import android.app.Application import android.app.Application
import dagger.hilt.android.HiltAndroidApp import dagger.hilt.android.HiltAndroidApp

View file

@ -1,7 +1,7 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.dao package golf.fish.gyromin.data.dao
import androidx.room.* import androidx.room.*
import com.ferhatozcelik.jetpackcomposetemplate.data.entity.ExampleEntity import golf.fish.gyromin.data.entity.ExampleEntity
@Dao @Dao
interface ExampleDao { interface ExampleDao {

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.entity package golf.fish.gyromin.data.entity
import android.os.Parcelable import android.os.Parcelable
import androidx.room.Entity import androidx.room.Entity

View file

@ -1,11 +1,11 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.local package golf.fish.gyromin.data.local
import androidx.room.Database import androidx.room.Database
import androidx.room.RoomDatabase import androidx.room.RoomDatabase
import androidx.room.TypeConverters import androidx.room.TypeConverters
import com.ferhatozcelik.jetpackcomposetemplate.data.dao.ExampleDao import golf.fish.gyromin.data.dao.ExampleDao
import com.ferhatozcelik.jetpackcomposetemplate.data.entity.ExampleEntity import golf.fish.gyromin.data.entity.ExampleEntity
import com.ferhatozcelik.jetpackcomposetemplate.di.ApplicationScope import golf.fish.gyromin.di.ApplicationScope
import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.CoroutineScope
import javax.inject.Inject import javax.inject.Inject
import javax.inject.Provider import javax.inject.Provider

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.local package golf.fish.gyromin.data.local
import androidx.room.TypeConverter import androidx.room.TypeConverter
import java.util.Date import java.util.Date

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.model package golf.fish.gyromin.data.model
import com.google.gson.annotations.SerializedName import com.google.gson.annotations.SerializedName

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.model package golf.fish.gyromin.data.model
sealed class Resource<out T : Any> { sealed class Resource<out T : Any> {
object Loading : Resource<Nothing>() object Loading : Resource<Nothing>()

View file

@ -1,6 +1,6 @@
package com.ferhatozcelik.jetpackcomposetemplate.data.remote package golf.fish.gyromin.data.remote
import com.ferhatozcelik.jetpackcomposetemplate.data.model.ExampleModel import golf.fish.gyromin.data.model.ExampleModel
import retrofit2.Response import retrofit2.Response
import retrofit2.http.* import retrofit2.http.*

View file

@ -0,0 +1,10 @@
package golf.fish.gyromin.data.repository
import golf.fish.gyromin.data.dao.ExampleDao
import golf.fish.gyromin.data.remote.AppApi
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class ExampleRepository @Inject constructor(private val appApi: AppApi, private val exampleDao: ExampleDao)

View file

@ -1,7 +1,7 @@
package com.ferhatozcelik.jetpackcomposetemplate.di package golf.fish.gyromin.di
import com.ferhatozcelik.jetpackcomposetemplate.data.remote.AppApi import golf.fish.gyromin.data.remote.AppApi
import com.ferhatozcelik.jetpackcomposetemplate.util.BASE_URL import golf.fish.gyromin.util.BASE_URL
import dagger.Module import dagger.Module
import dagger.Provides import dagger.Provides
import dagger.hilt.InstallIn import dagger.hilt.InstallIn

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.di package golf.fish.gyromin.di
import dagger.Module import dagger.Module
import dagger.Provides import dagger.Provides

View file

@ -1,9 +1,9 @@
package com.ferhatozcelik.jetpackcomposetemplate.di package golf.fish.gyromin.di
import android.app.Application import android.app.Application
import androidx.room.Room import androidx.room.Room
import com.ferhatozcelik.jetpackcomposetemplate.data.dao.ExampleDao import golf.fish.gyromin.data.dao.ExampleDao
import com.ferhatozcelik.jetpackcomposetemplate.data.local.AppDatabase import golf.fish.gyromin.data.local.AppDatabase
import dagger.Module import dagger.Module
import dagger.Provides import dagger.Provides
import dagger.hilt.InstallIn import dagger.hilt.InstallIn

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.navigation package golf.fish.gyromin.navigation
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController import androidx.navigation.NavHostController
@ -6,8 +6,8 @@ import androidx.navigation.NavType
import androidx.navigation.compose.NavHost import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable import androidx.navigation.compose.composable
import androidx.navigation.navArgument import androidx.navigation.navArgument
import com.ferhatozcelik.jetpackcomposetemplate.ui.detail.DetailScreen import golf.fish.gyromin.ui.detail.DetailScreen
import com.ferhatozcelik.jetpackcomposetemplate.ui.home.MainScreen import golf.fish.gyromin.ui.home.MainScreen
@Composable @Composable
fun NavGraph(navController: NavHostController) { fun NavGraph(navController: NavHostController) {

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.navigation package golf.fish.gyromin.navigation
sealed class Screen(val route: String) { sealed class Screen(val route: String) {
object Main : Screen("main_screen") object Main : Screen("main_screen")

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.activitys package golf.fish.gyromin.ui.activitys
import android.os.Bundle import android.os.Bundle
import androidx.activity.ComponentActivity import androidx.activity.ComponentActivity
@ -6,8 +6,8 @@ import androidx.activity.compose.setContent
import androidx.compose.material3.MaterialTheme import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface import androidx.compose.material3.Surface
import androidx.navigation.compose.rememberNavController import androidx.navigation.compose.rememberNavController
import com.ferhatozcelik.jetpackcomposetemplate.navigation.NavGraph import golf.fish.gyromin.navigation.NavGraph
import com.ferhatozcelik.jetpackcomposetemplate.ui.theme.MyApplicationTheme import golf.fish.gyromin.ui.theme.MyApplicationTheme
import dagger.hilt.android.AndroidEntryPoint import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint @AndroidEntryPoint

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.detail package golf.fish.gyromin.ui.detail
import android.annotation.SuppressLint import android.annotation.SuppressLint
import androidx.compose.foundation.layout.* import androidx.compose.foundation.layout.*

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.detail package golf.fish.gyromin.ui.detail
data class DetailScreenState( data class DetailScreenState(
val isLoading: Boolean = false, val isLoading: Boolean = false,

View file

@ -1,7 +1,7 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.detail package golf.fish.gyromin.ui.detail
import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModel
import com.ferhatozcelik.jetpackcomposetemplate.data.repository.ExampleRepository import golf.fish.gyromin.data.repository.ExampleRepository
import dagger.hilt.android.lifecycle.HiltViewModel import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject import javax.inject.Inject

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.home package golf.fish.gyromin.ui.home
data class HomeScreenState( data class HomeScreenState(
val isLoading: Boolean = false, val isLoading: Boolean = false,

View file

@ -1,7 +1,7 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.home package golf.fish.gyromin.ui.home
import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModel
import com.ferhatozcelik.jetpackcomposetemplate.data.repository.ExampleRepository import golf.fish.gyromin.data.repository.ExampleRepository
import dagger.hilt.android.lifecycle.HiltViewModel import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject import javax.inject.Inject

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.home package golf.fish.gyromin.ui.home
import android.annotation.SuppressLint import android.annotation.SuppressLint
import androidx.compose.foundation.layout.* import androidx.compose.foundation.layout.*
@ -9,7 +9,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier
import androidx.hilt.navigation.compose.hiltViewModel import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavHostController import androidx.navigation.NavHostController
import com.ferhatozcelik.jetpackcomposetemplate.navigation.Screen import golf.fish.gyromin.navigation.Screen
@SuppressLint("UnusedMaterialScaffoldPaddingParameter") @SuppressLint("UnusedMaterialScaffoldPaddingParameter")
@Composable @Composable

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.theme package golf.fish.gyromin.ui.theme
import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.Color

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.theme package golf.fish.gyromin.ui.theme
import android.app.Activity import android.app.Activity
import android.os.Build import android.os.Build

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.ui.theme package golf.fish.gyromin.ui.theme
import androidx.compose.material3.Typography import androidx.compose.material3.Typography
import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.TextStyle

View file

@ -1,3 +1,3 @@
package com.ferhatozcelik.jetpackcomposetemplate.util package golf.fish.gyromin.util
const val BASE_URL = "https://api.ferhatozcelik.com" const val BASE_URL = "https://api.ferhatozcelik.com"

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.util package golf.fish.gyromin.util
import android.content.ActivityNotFoundException import android.content.ActivityNotFoundException
import android.content.Context import android.content.Context

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate.util package golf.fish.gyromin.util
import android.content.Context import android.content.Context
import android.net.ConnectivityManager import android.net.ConnectivityManager

View file

@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">My Application</string> <string name="app_name">Gyromin</string>
</resources> </resources>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<style name="Theme.MyApplication" parent="android:Theme.Material.Light.NoActionBar" /> <style name="Theme.Gyromin" parent="android:Theme.Material.Light.NoActionBar" />
</resources> </resources>

View file

@ -1,4 +1,4 @@
package com.ferhatozcelik.jetpackcomposetemplate package golf.fish.gyromin
import org.junit.Test import org.junit.Test

View file

@ -12,5 +12,5 @@ dependencyResolutionManagement {
mavenCentral() mavenCentral()
} }
} }
rootProject.name = "jetpack-compose-template" rootProject.name = "gyromin"
include ':app' include ':app'