2019-01-24 22:17:57 +00:00
|
|
|
package com.eleith.hashtagit
|
2019-01-22 00:04:50 +00:00
|
|
|
|
|
|
|
import android.os.Bundle
|
2019-01-22 00:28:05 +00:00
|
|
|
import android.view.Menu
|
2019-01-22 17:56:58 +00:00
|
|
|
import android.view.MenuItem
|
2019-01-22 17:59:49 +00:00
|
|
|
import androidx.appcompat.app.AppCompatActivity
|
2019-01-22 17:56:58 +00:00
|
|
|
import androidx.lifecycle.ViewModelProviders
|
2019-01-25 13:35:48 +00:00
|
|
|
import kotlinx.android.synthetic.main.activity_hash_tag_it.*
|
|
|
|
|
2019-01-22 00:04:50 +00:00
|
|
|
|
|
|
|
class HashTagItActivity : AppCompatActivity() {
|
|
|
|
|
2019-01-25 13:35:48 +00:00
|
|
|
fun showToolbar(toggle: Boolean) {
|
|
|
|
if (toggle) {
|
|
|
|
supportActionBar?.show()
|
2019-01-25 17:37:00 +00:00
|
|
|
} else {
|
|
|
|
supportActionBar?.hide()
|
2019-01-25 13:35:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-22 00:04:50 +00:00
|
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
|
|
super.onCreate(savedInstanceState)
|
|
|
|
setContentView(R.layout.activity_hash_tag_it)
|
2019-01-25 13:35:48 +00:00
|
|
|
setSupportActionBar(toolbar)
|
2019-01-22 00:28:05 +00:00
|
|
|
}
|
2019-01-22 00:04:50 +00:00
|
|
|
}
|