Skip to content

Commit 5335779

Browse files
authored
Update final_notes.md
Fixes file name styles
1 parent 1b93321 commit 5335779

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

final_notes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ Testing project replicates the same feature structure to ease test running separ
3434
#### LiveData / Observable Pattern
3535
Data is handled via [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) / Observable Pattern instead of RxJava, as it's better performant and includes a series of benefits as, for example, avoiding manual app lifecycle management.
3636

37-
*RepoListViewModel.kt*
37+
***RepoListViewModel***
3838
```Kotlin
3939
val repoList: LiveData<NetworkResource<List<Repo>>> = repoListRepository.getRepos(organizationName)
4040
```
4141

42-
*RepoListActivity.kt*
42+
***RepoListActivity***
4343
```Kotlin
4444
//Observe live data changes and update UI accordingly
4545
repoListViewModel.repoList.observe(this) {
@@ -56,21 +56,21 @@ Project implements Dependency Injection (SOLI**D**) to isolate modules, avoid in
5656

5757
Dependency Injection is handled via [Hilt](https://developer.android.com/training/dependency-injection/hilt-android), a library that uses Dagger under the hood easing its implementation via @ annotations, and is developed and recommended to use by Google.
5858

59-
*GithubNdApp.kt (App main class)*
59+
***GithubNdApp (App main class)***
6060
```Kotlin
6161
@HiltAndroidApp
6262
class GithubNdApp : Application() {}
6363
```
6464

65-
*RepoListActivity*
65+
***RepoListActivity***
6666
```Kotlin
6767
@AndroidEntryPoint
6868
class RepoListActivity : AppCompatActivity(), RepoListItemViewAdapter.OnRepoListener {
6969
private val repoListViewModel: RepoListViewModel by viewModels()
7070
}
7171
```
7272

73-
*RepoListViewModel*
73+
***RepoListViewModel***
7474
```Kotlin
7575
class RepoListViewModel @ViewModelInject constructor (
7676
private val repoListRepository: RepoListRepository,
@@ -81,7 +81,7 @@ class RepoListViewModel @ViewModelInject constructor (
8181
### API Calls
8282
API Calls are handled via [retrofit](https://square.github.io/retrofit/), declaring calls via an interface, and automatically deserialized by [Gson](https://github.com/google/gson) into model objects.
8383

84-
*RepoListService*
84+
***RepoListService***
8585
```Kotlin
8686
@Headers("Authorization: token ???????????????")
8787
@GET("/orgs/{organizationName}/repos")

0 commit comments

Comments
 (0)