Find Jobs
Hire Freelancers

Sort news in Android listview according to date in "dd/MM/yyyy HH:mm" format in Firebase

$10-30 USD

Cancelled
Posted over 5 years ago

$10-30 USD

Paid on delivery
I have data in Firebase with the following format in the picture as you see. I want to sort it according to date (newsDate) in descending order (latest on the top). I have added this to my code while I am retrieving data from Firebase: [login to view URL]("newsDate").addChildEventListener(new ChildEventListener() { // on child added methods } But this only does string sorting, so that order becomes like this: 04/08/2018 12:00, 13/08/2018 10:30, 30/07/2018 00:00 I know this is because of alphabetical sorting. Wondering how I can customize the sorting order with my date format (dd/MM/yyyy HH:mm) and also in descending order? Please note that I cannot change property of newsDate in Firebase to Timestamp or Millis.
Project ID: 17957238

About the project

9 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $20 USD for this job
User Avatar
hey sir we can format and sort data in local android to display sorted data we can format and sort data in local android to display sorted data regards ibraheem
$25 USD in 1 day
5.0 (34 reviews)
4.9
4.9
User Avatar
Hi sir, I read your project description .I can do your project & able to run successfully. I have 6+ years experience for mobile application development & done over 200+ mobile apps by a good team members . It will be very much pleasure for me, if you give me the opportunity to do your job for minimum cost. Thanks for your consideration . Thanks with Regards Prosanto
$25 USD in 1 day
5.0 (7 reviews)
3.7
3.7
User Avatar
Hi, I can fix the issue to sort records based on date in Descending order. I have 2 years experience in Android developer. Waiting for positive response. Regards, Danish
$25 USD in 1 day
4.5 (8 reviews)
3.3
3.3
User Avatar
I can give you the code required in an hour. Would you prefer me to edit it into your code base directly? Or should I send a code snippet which shows how the sorting would be done and you’ll modify it for your code using the correct variable names etc? I have multiple years of experience creating android apps and using firebase.
$15 USD in 1 day
5.0 (1 review)
1.5
1.5
User Avatar
Pls. Give me your project
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have gone through your project proposal, skills required. Expertise I have as a software developer I will deliver as per your requirement. I look forward to hear form you soon. Thanks in advance. Regards, Almas
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
its easy task
$17 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AZERBAIJAN
BAKU, Azerbaijan
5.0
5
Payment method verified
Member since Aug 13, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.