Skip to content

Instantly share code, notes, and snippets.

View tugceaktepe's full-sized avatar
🏠
Working from home

Tugce Aktepe tugceaktepe

🏠
Working from home
  • Trendyol
  • Istanbul
View GitHub Profile
@tugceaktepe
tugceaktepe / success_response.json
Created June 15, 2023 20:03
TMDB GET Success Response
{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/nGxUxi3PfXDRm7Vg95VBNgNM8yc.jpg",
"genre_ids": [
28,
12,
16,
@tugceaktepe
tugceaktepe / MainActivityTest.kt
Last active June 15, 2023 19:45
Replace a binding
@UninstallModules(
UrlModule::class
)
@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class MainActivityTest {
@get:Rule
val hiltRule = HiltAndroidRule(this)
@tugceaktepe
tugceaktepe / UrlModule.kt
Last active June 15, 2023 19:28
UrlModule.kt
package com.aktepetugce.pagingmovieexample.di
import com.aktepetugce.pagingmovieexample.util.ApiConstants
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module