Skip to content

Commit

Permalink
[feat] navigation string route의 url를 인코딩하는 함수 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
014967 committed Oct 2, 2023
1 parent 06cbe62 commit c2584c8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.mashup.twotoo.presenter.util

import java.net.URLEncoder
import java.nio.charset.StandardCharsets

fun String.toIncodeUrl(): String {
return URLEncoder.encode(this, StandardCharsets.UTF_8.toString())
}

0 comments on commit c2584c8

Please sign in to comment.