Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
utsavdotpro committed Mar 5, 2022
1 parent 62296d4 commit 8023b86
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/src/main/java/com/isolpro/library/connection/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ class MainActivity : AppCompatActivity() {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)

PostService.getPosts(this)
.success {
// TODO("Use your data from $it")

// use $it.userId to get userId from Post
}
.failure {
// TODO("Let user know that the request has failed")
}
.post()
// PostService.getPosts(this)
// .success {
// // TODO("Use your data from $it")
//
// // use $it.userId to get userId from Post
// }
// .failure {
// // TODO("Let user know that the request has failed")
// }
// .post()
}
}

0 comments on commit 8023b86

Please sign in to comment.