TwitterCover-Android

by cyndibaby905

cyndibaby905 /TwitterCover-Android

The Android version of https://github.com/cyndibaby905/TwitterCover

407 Stars 49 Forks Last release: Not found MIT License 7 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

TwitterCover-Android

The Android version of TwitterCover

Android Arsenal

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.

    
    
  3. In your

    onCreate
    method refer to the View and setup header image. ```java TwitterCoverListView listView = (TwitterCoverListView) findViewById(R.id.layoutlistview); listView.setHeaderImage(BitmapFactory.decodeResource(getResources(), R.drawable.imgheader));

    ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simpleexpandablelistitem1, 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

Thanks

Lincense

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.