PinterestLikeAdapterView


Source link: https://github.com/GDG-Korea/PinterestLikeAdapterView

[Deprecated] PLA(PinterestLikeAdapterView)

Deprecated: This project is not maintaned anymore. Thanks.

Open source project in order to implement pinterest like list view on android. (You can check how pinterest app looks like form)

This project is statred based on Anders Ericson's blog post ' making your own 3d list'.

But, currenty it is implemented based on android framework 2.3's list view source. You can check modified list view sources in internal package.

Not supported Features

  • Entry from XML layout.
  • Choice Mode & Item Selection.
  • Filter
  • Handle Key Event & Arrow Scrolling..

Screen Shot

This is a screen shot of sample activity.

How to use

To run Sample App.

  1. clone project.

  2. run on your android phone.

To use Pinterest Like Multi Column View.

  1. check this project as library project.

  2. MultiColumListView is the view what you need.

Attributes

  • plaColumnNumber

    Number of column. (default value is 2)

  • plaLandscapeColumnNumber

    Number of column in landscape mode (the orientation that window's width is longer than height.)

Overridable Methods

PLA_ListView was made based on Android 2.3 Framework's ListView, and support those protected methods to let a user customize list view's behavior.

@Override protected void onMeasureChild(View child, int position, int widthMeasureSpec, int heightMeasureSpec);

@Override protected void onItemAddedToList(int position, boolean flow );
  @Override protected void onLayoutSync(int syncPos);
  @Override protected void onLayoutSyncFinished(int syncPos);

@Override protected int getFillChildBottom();
  @Override protected int getFillChildTop();
  @Override protected int getScrollChildBottom();

@Override protected int getScrollChildTop();
  @Override protected int getItemLeft(int pos);
  @Override protected int getItemTop( int pos );

@Override protected int getItemBottom( int pos );
  @Override protected void onAdjustChildViews( boolean down );
 

Contributing

Any kinds of helps (bug report / pull request / suggestions) are welcomed =)

If you are submitting a patch, please add your name to AUTHORS.md.

License

Copyright 2012 PinterestLikeAdapterView authors. All rights reserved.  Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License. You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 

Resources

An avatar ImageView with any kind of shapes.

A demo project which has FlowLayout to work with tags.

A lot of utility classes for Android development.

A Java fluent assertion wrapper to improve readability of RxJava's TestSubscriber assertions.

Standalone ZXing barcode/qrcode scanner library so that you don't have to install the ZXing Barcode Scanner app explicitly.

Android geographic visualization for UNHCR data.

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