Android: Passing Date in putExtra

前端 未结 4 2013
温柔的废话
温柔的废话 2021-01-07 17:34

I\'m launching an activity and would like to pass a Date(Time) value to it. I\'ve passed all my other parameters with i.putExtra(\"noteName\", \"Hello Wor

4条回答
  •  滥情空心
    2021-01-07 17:55

    better convert into a long, use putExtra(String name, long value) and recreate then back in the new Activity.

提交回复
热议问题