TwitterCover-Android


Source link: https://github.com/cyndibaby905/TwitterCover-Android

TwitterCover-Android

The Android version of TwitterCover

Requirements

Android 4.2 Jelly Bean +

Or Android 4.0 Ice Cream Sandwich + if you don't use RenderScript

How to use

For a working implementation, Have a look at the Sample Project - app

  1. Include the library as local library project.

    compile project(':twittercover')

  2. Include the TwitterCoverListView in your layout.

    <com.hangchen.twittercover.TwitterCoverListView
      android:id="@+id/layout_listview"
      android:dividerHeight="1dp"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      />
  3. In your onCreate method refer to the View and setup header image.

    TwitterCoverListView listView = (TwitterCoverListView) findViewById(R.id.layout_listview);
     listView.setHeaderImage(BitmapFactory.decodeResource(getResources(), R.drawable.img_header));
      ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
    
    android.R.layout.simple_expandable_list_item_1,
    
    new String[]{
    
      "Item 1", "Item 2", "Item 3", "Item 4", "Item 5",
    
      "Item 6", "Item 7", "Item 8", "Item 9", "Item 10",
    
      "Item 11", "Item 12", "Item 13", "Item 14", "Item 15",
    
      "Item 16", "Item 17", "Item 18", "Item 19", "Item 20"
    
    }
     );
     listView.setAdapter(adapter);
    

How it looks

![TwitterCover-Android] ( https://raw.githubusercontent.com/cyndibaby905/TwitterCover-Android/master/twittercover.gif)

Thanks

Lincense

TwitterCover-Android is available under the MIT license. See the LICENSE file for more info.

Resources

A draggable ImageView with possibility to transform it.

A View which looks like a Lollipop Pattern View.

RefreshFragementViewPager is useful to update fragment on "tab change" using FragmentStatePagerAdapter.

A tinder-like swipe-able card stack component. It provides "swipe to like" effect and allows easy customization.

EasyImage allows you to easily take a picture from gallery or camera without creating a lot of boilerplate code.

WaveProgressView is a simple progress view.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes