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")
}