Skip to content

Instantly share code, notes, and snippets.

View Namolem's full-sized avatar

Valery Namolem

  • Russia, Bryansk
View GitHub Profile
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setTheme(R.style.AppTheme)
val systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
window.decorView.systemUiVisibility = systemUiVisibility
setContentView(R.layout.activity_main)
someBottomView.doOnApplyWindowInsets { view, windowInsets, initialPadding ->
@GET("token/client/{phone}")
@POST("token/client/verification")
@GET("client/current")
@GET("restaurant/{id}/additional-offer")
@GET("brand/info")
@GET("news/combined")
@DELETE("token")
@GET("client/current/operations")
@GET("restaurant/{restaurantId}/reserve/{reserveId}")
@DELETE("restaurant/{id}/reserve/{reserve_id}")