Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh #1

Open
ritesh296 opened this issue Mar 25, 2014 · 5 comments
Open

Refresh #1

ritesh296 opened this issue Mar 25, 2014 · 5 comments

Comments

@ritesh296
Copy link

great work ....

Can You tell me how to add new data after remove previous one .
Suppose I have a search box at top using api . I want to remove previous one and add new data. I tried by many way but it always add new data at bottom and previous one also exist .Please suggest me

@smanikandan14
Copy link
Owner

clear() would clear all the elements so far added to the grid view. You could use that if you wanted to clear all and show fresh results. But you cannot have features like "notifyDataSetChanged()" like you have for list adapters. I have mentioned in the cons.

@ritesh296
Copy link
Author

thanks for your reply..I just want to load new data as the search
result,but it is added with the old staggered grid view,I have used
gridview.clear(),and it is also clear the data ,but after this function I
am unable to add the new data in that grid view.I have seen the cons in the
github ,and then I have made two gridview ,one for default and second for
search result now it works for me :) .Very Nice Works It helps me alot
.Thanks again

On Tue, Mar 25, 2014 at 7:17 AM, Mani [email protected] wrote:

clear() would clear all the elements so far added to the grid view. You
could use that if you wanted to clear all and show fresh results. But you
cannot have features like "notifyDataSetChanged()" like you have for list
adapters. I have mentioned in the cons.

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-38568963
.

@Shem2t
Copy link

Shem2t commented Nov 24, 2014

Hi, I have imported the project but the url is empty, help please!!

@smanikandan14
Copy link
Owner

What url are you referring to ?

@Shem2t
Copy link

Shem2t commented Nov 24, 2014

This url: "http://api.flickr.com/services/rest"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants