Question

I'm newbie to android and must use image as Pinterest. i am using staggeredgridview using etsy demo but as soon as project is imported to eclipse it shows many errors is there any step to implement staggered demo?

Was it helpful?

Solution

Try Below code..

https://github.com/bulletnoid/StaggeredGridView

Hope Help you.

OTHER TIPS

if the Existing Code is Correct, and It shows An error when you import the Project You need to Take Care of two things..

If you want to seed Demo... if a Existing Projects... it Depends on the Way You Import.

1.Some Existing Source codes can Be imported directly.. Like :

File> 
Import > 
Android >
Existing Android Code Into Work Space> Browse file..

But For Some Source Code In the Above Way you will Get Errors Definitely.. Due to incomplete Import..(I mean Eclipse may not import Complete Functionality)

If you Get Errors in First Way choose Second Way..

2.Second Way to Import

File> 
other> 
Android >
Android project from Existing Code> Browse file..

I hope this is Problem.. Or Else Please Mention Your Log Cat Code so that the Error will be Fixed..

Update

One More thing If you are Using Android Build Tools.. It may a problem for some old codes..

So you need to Use Separate Eclipse J2EE kepler IDE and Android SDK ...

See here for Reference...

One Place Your Log Cat.. I will Solve Problem...

You can go with this link:

It explains few steps as follows:

  1. Just Use a Grid List
  2. Try a Modified GridView with Staggered Grid View
  3. Try a Modified List with Pinterest Like Adapter View
  4. Or Try Two Synced List Views with Pinterest List View

You might not have change your Package Name or i would be good if you have posted error.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top