This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import android.graphics.* | |
| import com.squareup.picasso.Transformation | |
| // https://gist.github.com/codezjx/b8a99374385a0210edb9192bced516a3 | |
| class CircleTransformation: Transformation { | |
| companion object { | |
| private val KEY = "circleImageTransformation" | |
| } | |
| override fun transform(source: Bitmap): Bitmap { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package net.yusukezzz | |
| import gg.jte.CodeResolver | |
| import gg.jte.TemplateEngine | |
| import gg.jte.output.WriterOutput | |
| import gg.jte.resolve.DirectoryCodeResolver | |
| import io.ktor.application.* | |
| import io.ktor.http.* | |
| import io.ktor.http.content.* | |
| import io.ktor.response.* | 
OlderNewer