You need to transfer a string from the activation to the adapter, as far as I know you need to transfer it to the bundle, but I don’t know how. Help cope with the task.

  • then let me clarify what you mean by adapter, that is, the feeling that you are writing about another thing. - Yevgeny Suetin
  • one
    There is Activation A in which there is a method for setting the date of makeDate (), you need to transfer this date to the adapter and get the time transferred from the activit - java in the getView () method
  • then make your adapter inheriting from one of the standard ones; make inside the variable private Date date; and pulic void setDate (Date date) {this.date = date} And in activity use this method. It will change the date variable, and the getView () method that used it will take the already changed variable. If you helped please inform. - Evgeny Suetin
  • I will try now - java

1 answer 1

In the adapter, you can transfer data through the designer, making your adapter by overriding the standard adapter. And you don't have to do it through the Bundle

  • and how else can it be done? - java
  • @java make the interface and pull the interface methods. - Yevgeny Suetin