Gankapp Slide and title Modify the color of the full project app

Source: Internet
Author: User

Gankapp Slide and title Modify the color of the full project app

Gankapp Slide and title Modify the color of the complete project app, this project mainly by the sliding frame and 4.4 and above the head title color adjustment and
Home Viewpager Swipe to switch, as well as handle the collision of slide and Viewpager events, and each item clicks into the Image preview page effect,
and the Picture preview page click on the head to show the hidden animation effect.
Source of this project: HTTPS://GITHUB.COM/XIONGWEI-GIT/GANKAPP
The main code of this project is as follows:


Load Viewpager by:

private void Setupviewpager () {
Mbenefitlistfragment = new Benefitlistfragment ();
Mpageradapter = new Mainfragmentpageradapter (Getsupportfragmentmanager ());
Mpageradapter.addfragment (Commongoodslistfragment.newfragment ("Android"), "Android");
Mpageradapter.addfragment (Commongoodslistfragment.newfragment ("ios"), "ios");
Mpageradapter.addfragment (Mbenefitlistfragment, "welfare");
Mviewpager.setadapter (Mpageradapter);
}


     Get data using the following methods
  /***
     * Get the callback interface for the benefit graph and get the data for the background
     */
    private observer<goodsresult> getimagegoodsobserver = new Observer<goodsresult> () {
        @Override
         public void OnNext (final goodsresult goodsresult) {
             if (null! = Goodsresult && null! = Goodsresult.getresults ()) {
  & nbsp;             ImageGoodsCache.getIns (). Addallimagegoods (Goodsresult.getresults ());
           }
       }

@Override
public void oncompleted () {
LOGGER.D ("Get Background Map Service complete");
}

@Override
public void OnError (final throwable error) {
LOGGER.E (Error, "Get background map service failed");
}
};

Operating effect:

Related code

    • Gankapp Slide and title Modify the color of the full project app

    • Androidvideoplayer Play video online

    • Androidscreenslide Project Toggle View Animation effect

    • Scrolldownlayout ScrollView and Viewpager colleagues existing event handling

    • Starratingbar Star Toggle Animation

    • Anyshareofandroid Android third-party login

    • Animcheckbox button click Animation effect

    • Android Market Mainstream slide frame

    • Percentagecircle Custom Ring Effects

    • Emojichat Chat page implementation, support send failed resend


Gankapp Slide and title Modify the color of the full project app

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.