[development] Adding some enhancement and new feature to Travel Mate Android

in #utopian-io6 years ago

Repository

https://github.com/project-travel-mate/Travel-Mate

Travel Mate

https://project-travel-mate.github.io/Travel-Mate/

A must-have app for those interested in travel. The app provides users with various features from choosing the correct destination to making all the bookings and to easily organizing the trip. The platform basically uses a mash-up technology. The app provides solutions for every possible problem a traveller might face during the course of his or her entire journey.

While travelling from one place to another, there are a lot of factors to be considered to make the trip a memorable one. Our platform helps the traveller with anything and everything that he or she might need, from the moment he or she plans the journey till the time he or she is back home happy and content. The platform includes a wide variety of options - from selection of Mode of Transport, to finding out about the destination city, to provision of best music, novels, depending on the mood of the traveller.

New Features

1. Creating a spotlight view on home page.

  • What feature(s) did you add?
    Travel mate app shows list of favourite cities on landing screen. There was task request to create spotlight view on city card for better user experience.
    Link to Task Request
  • How did you implement it/them?
    To this spotlight view implementation i selected a opensource library i. e Spotlight will actually creates spotlight view on top of our UI.

Pull Request

1. Search view in Currency converter.

  • What feature(s) did you add?
    Travel Mate do have a utility to check different currency rates in utilities section. Where in user is going to select two different currency types from listview, in the existing feature there was no filter option for listviews. So here in this contribution implemented search for both to and from listviews of the currencies.
    Link to Task Request

  • How did you implement it/them?
    To achieve this i have created filterable implementation to recyclerview adapter. On TextChangedListener used filter override method to filter from existing list update listview.

Pull Request

@Override
public Filter getFilter() {
return new Filter() {
    @Override
    protected FilterResults performFiltering(CharSequence charSequence) {
        String charString = charSequence.toString();
        if (charString.isEmpty()) {
            mListCurrencyNamesFiltered = mListCurrencyNames;
        } else {
            List<CurrencyName> filteredList = new ArrayList<>();
            for (CurrencyName row : mListCurrencyNames) {
                if (row.getShortName().toLowerCase().contains(charString.toLowerCase()) ||
                        row.getAbrivation().toLowerCase().contains(charSequence)) {
                    filteredList.add(row);
                }
            }
            mListCurrencyNamesFiltered = filteredList;
        }
         FilterResults filterResults = new FilterResults();
        filterResults.values = mListCurrencyNamesFiltered;
        return filterResults;
    }
     @Override
    protected void publishResults(CharSequence charSequence, FilterResults filterResults) {
        mListCurrencyNamesFiltered = (ArrayList<CurrencyName>) filterResults.values;
        notifyDataSetChanged();
    }
 };
}

GitHub Account

https://github.com/santoshhiremani

Sort:  

Thanks for the contribution, @hiremani! It's cool to see you contributing to Travel Mate so much. Is this an application you've been contributing to for a long time, do you use it yourself; basically what's the story behind you contributing to it?

The spotlight is definitely a nice touch and the ability to search in the currency converter should be pretty useful. Keep up the good work!


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thanks Amos for your review and constant support, Yes I have been using this app from couple of days. I personal feel it's nice app because it provides almost everything to an traveller starting from clock and currency converter to hotel booking.....Hmm not only this app I started contributing to other apps as well, Yes I started my journey in utopian with this app and still there are many open new things to be done to deliver nice things to end user so you expect some more on this in future.

Posted using Partiko Android

Thank you for your review, @amosbastian!

So far this week you've reviewed 14 contributions. Keep up the good work!

Hi @hiremani!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @hiremani!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.18
TRX 0.18
JST 0.032
BTC 87747.34
ETH 3057.76
USDT 1.00
SBD 2.74