Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit 4758fe5

Browse files
authored
Merge pull request #29 from oldergod/refact/nits
Refact/nits
2 parents d8a36e6 + 471248a commit 4758fe5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailFragment.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ class TaskDetailFragment : Fragment(), MviView<TaskDetailIntent, TaskDetailViewS
248248
private const val REQUEST_EDIT_TASK = 1
249249

250250
operator fun invoke(taskId: String): TaskDetailFragment {
251-
return TaskDetailFragment().also { fragment ->
252-
fragment.arguments = Bundle().also { arguments ->
253-
arguments.putString(ARGUMENT_TASK_ID, taskId)
251+
return TaskDetailFragment().apply {
252+
arguments = Bundle().apply {
253+
putString(ARGUMENT_TASK_ID, taskId)
254254
}
255255
}
256256
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.2.10'
2+
ext.kotlin_version = '1.2.21'
33
repositories {
44
jcenter()
55
google()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy