Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

how to execute data on datepicker ondateset dialog?  RSS feed

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to execute data on datepicker ondateset dialog?
wa.jpg
[Thumbnail for wa.jpg]
DatePickerDilaog
wa1.jpg
[Thumbnail for wa1.jpg]
GetData
 
Ranch Hand
Posts: 149
1
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a red line under GetData(). What the error said ?
 
teguh sugiono
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes I found a red line in the function, whether the function cannot be called from there.
new GetData().execute();
 
Randy Tong
Ranch Hand
Posts: 149
1
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Point to the red line, what did the error said ?
 
teguh sugiono
Greenhorn
Posts: 26
 
Randy Tong
Ranch Hand
Posts: 149
1
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried added static in GetData class?
 
teguh sugiono
Greenhorn
Posts: 26
 
Randy Tong
Ranch Hand
Posts: 149
1
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

teguh sugiono wrote:please give me example
https://drive.google.com/file/d/1bZIz2s6WsRVa9djku9EFFA9nT6CF4JEe/view


I don't think you need example now since you have solved.
 
Saloon Keeper
Posts: 5043
134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, whatever it is you posted on Google Drive, it's much better to post relevant information here. If I have to go elsewhere in order to help someone, personally I'm much less likely to do so. And if it's text, post the relevant parts of it here, not screenshots that make it impossible to quote or edit.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!