Android java.util.Calendar - Time Difference

前端 未结 3 424
再見小時候
再見小時候 2021-01-22 09:07

I want to make calendar view in order to support touch interaction. So I\'d like to build new custom calendar view. I tried to make mapping function between view offset and rea

3条回答
  •  不思量自难忘°
    2021-01-22 09:40

    This is because you need to use the "equals" method to compare different objects. Using operator "==" will tell you if the objects are identical (do they reside in the exact same memory location), while the "equals" comparison function will tell you if the two objects are logically equivalent.

提交回复
热议问题