Giter VIP home page Giter VIP logo

dsmmarket's People

Contributors

kimdohun0104 avatar parkyoungjin0303 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dsmmarket's Issues

Post Detail onResume()

PostDetail에서 onResume 함수가 호출되면 자신이 쓴 글이지만 채팅으로 거래하기가 뜹니다

activity 무한 중첩

post detail에서 추천 아이템을 누른다.
위를 반복할 경우 계속 activity 중첩됨

How think about Kotlin.run ?

How think about Kotlin.run ?
If you use kotlin.run, you get clean code. (maybe)

override fun observeViewModel() {
val lifeCycleOwner = this@LoginActivity

    viewModel.run {
        showLoadingDialogEvent.observe(lifeCycleOwner, Observer { LoadingDialog.show(supportFragmentManager) })
        hideLoadingDialogEvent.observe(lifeCycleOwner, Observer { LoadingDialog.hide() })
        intentMainActivityEvent.observe(lifeCycleOwner, Observer {
            Intent(lifeCycleOwner, MainActivity::class.java).apply {
                flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
                startActivity(this)
            }
        })
        hideKeyboardEvent.observe(lifeCycleOwner, Observer {
            (getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager).hideSoftInputFromWindow(et_login_password.windowToken, 0)
        })
        toastEvent.observe(lifeCycleOwner, Observer { toast(it) })
        loginLogEvent.observe(lifeCycleOwner, Observer { Analytics.logEvent(lifeCycleOwner, Analytics.LOGIN, it) })
    }
}

아이템이 없을 때

Purchase, Rent, Chat 등의 아이템이 존재하지 않을경우
x가 없습니다. 라는 문구를 보여주어야
유저가 아이템이 없어서 안뜬다고 알 것 같습니다.

(특히 채팅 같은 경우, 누구나 처음에 채팅이 없으므로 어색함을 보여줌)

댓글 신고

자신이 남긴 댓글을 신고할 수 있습니다

채팅

날짜가 바뀌고 채팅을 할 시,
2019-XX-XX가 최근 단 댓글 이전에 달리는게 아닌
아이템의 맨 처음에 달립니다

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.