Modifying the post details activity

This is an activity where will handle a specific post. This post will be fetched by a postId, and we will get this through the intent that is sent from PostRecycleViewAdapter. To get the intent view, we need to use intent.extras. We use Long with the key name of  "postId", as shown in the following code:

private var postId:Long = -1

if
(intent.extras!=null){
postId = intent.extras.getLong("postId")
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.184.102