Skip to content

Commit 3b712fe

Browse files
authored
Merge pull request #1 from Farhandroid/Part-1
Part 1
2 parents 7d0ddbc + 69b7b52 commit 3b712fe

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# MovieMania
2+
![MovieMania2](https://user-images.githubusercontent.com/32593150/151771096-dc23d27a-b47f-433a-8c77-1e6d802c83d8.gif)
3+
4+
### <br/><br/>There is an [ Article (Put the article link)](Put the article link) about this project . Please check it
5+
6+
## <br/><br/>Built With 🛠
7+
- [Kotlin](https://kotlinlang.org/)
8+
- [Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html)
9+
- [Compose](https://developer.android.com/jetpack/compose)
10+
- [Navigation](https://developer.android.com/guide/navigation)
11+
- [Android Architecture Components](https://developer.android.com/topic/libraries/architecture)
12+
- [LiveData](https://developer.android.com/topic/libraries/architecture/livedata)
13+
- [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel)
14+
- [Hilt](https://dagger.dev/hilt/)
15+
- [Retrofit](https://square.github.io/retrofit/)
16+
- [GSON](https://github.com/google/gson)
17+
- [Coil](https://github.com/chrisbanes/accompanist/blob/main/coil/README.md)
18+
- [Accompanist](https://google.github.io/accompanist/)
19+
- [Material Components for Android](https://github.com/material-components/material-components-android)
20+
21+
## <br/><br/> How to run this app
22+
- Clone this repository
23+
- Register in [TMDB](https://developers.themoviedb.org/) and get the API_KEY , BASE_URL and POSTER_URL and put it in graddle.properties
24+
- Build the application

app/src/main/java/com/farhan/tanvir/androidcleanarchitecture/presentation/screen/home/HomeScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fun HomeScreen(navController: NavHostController, viewModel: HomeViewModel = hilt
6363
}
6464
is Result.Error -> Toast.makeText(
6565
LocalContext.current,
66-
"Something happened . Please try again .",
66+
stringResource(R.string.toast_error),
6767
Toast.LENGTH_SHORT
6868
)
6969
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<resources>
22
<string name="app_name">MovieMania</string>
3+
<string name="toast_error">Something happened . Please try again .</string>
34
</resources>

0 commit comments

Comments
 (0)