« first day (901 days earlier)      last day (116 days later) » 

11:29 AM
homefragment la adapter ku notifydatasetchanged work aagala
so new ah create pani potrukaanga
atha epdi solve panrathu
for gridview
 
@Pearl u r adding some new items to the arraylist given to the adapter?
right?
 
yes
 
@Pearl 1 sec let me check ur code
 
k
@TamilselvanKalimuthu NowShowingGridadapter.notifyDataSetChanged();
ComingsoonGridadapter.notifyDataSetChanged();
@TamilselvanKalimuthu
 
@Pearl entha class?
 
11:34 AM
@TamilselvanKalimuthu HomeFragment
 
@Pearl folder folder
 
@TamilselvanKalimuthu nowshowing
 
got
@Pearl u r recreating the adapter?
 
yes notifyDataSetChanged(); not working
thats y
@TamilselvanKalimuthu
@TamilselvanKalimuthu i think in custom adapter having prblm
 
@Pearl fine
no
the value u set is the problem
 
11:41 AM
@TamilselvanKalimuthu didn't get you
 
@Pearl which value u r updating.
the arraylist
@Pearl nowShowingmovieList
 
@TamilselvanKalimuthu yes
@TamilselvanKalimuthu oh atha new ah each time create pananuma
 
@Pearl see 492 line. u r assigning the value to the list
no
u should get the value in some other variable
then clear the current list. then addAll(new value) then notifydatasetchanged
 
puriyala
nowShowingmovieList = SPIMovieListParser.parserFeed(nowShowingPOJO.getMovies().toString());
in this line ah??
 
List<Movie> temp=SPIMovieListParser.parserFeed(nowShowingPOJO.getMovies().toString());
nowShowingmovieList.clear();
nowShowingmovieList.addAll(temp);
Then
 
11:48 AM
k i ll try
 
Remove these two lines
NowShowingGridadapter = new CustomGridAdapter(getActivity(), nowShowingmovieList, imageResourceURL, getlanguage());

nowshowingGridView.invalidateViews();
Then use NowShowingGridadapter.notifyDataSetChanged();
 
k
not working properly
@TamilselvanKalimuthu did u run that
 
@Pearl no it should work,let me try once
 
k
 
@Pearl how to do that functionality
 
11:53 AM
@TamilselvanKalimuthu which one
 
@Pearl when that method will be called?
 
@TamilselvanKalimuthu after getting values from webservice
 
@Pearl 1st time itself or i have swipe or have to do something else?
 
in asynctask folder CommonAsyncTask onpost
1st time
@TamilselvanKalimuthu
 
12:09 PM
@TamilselvanKalimuthu r u thr
 
@TamilselvanKalimuthu did u check
 
@Pearl s checking. i think u r design may be wrong
 
design????
 
@Pearl sry if(languagelist.get(i).toString().equals(m.getFilterLanguage().toUpperCase()))
what is this condition inside the adapter
?
i removed that condition working fine for me
 
12:17 PM
@TamilselvanKalimuthu no no
u shouldn't remove that condition
 
@Pearl that condition is wrong
thats what i am trying to say
 
condition for filter movie language only
so it is must
 
@Pearl hey it is working fine only
 
enna panuna
 
@Pearl u have to filter before apply to the adapter
since else part is not implemented that space is empty
only showing the english movies other movie spaces are empty
 
12:25 PM
images not came
@TamilselvanKalimuthu
r u thr
 
k
 
@Pearl u r using volley or image loader lib?
 
volley
 
@Pearl imageResourceUrl s null
 
12:40 PM
yes i got that exception
but without our changes how it was worked
@TamilselvanKalimuthu
 
@Pearl puriala
 
ne ippo change panunaila athu illaama 1st work aachu
how
 
@Pearl hm same code?
 
s
 
@Pearl in previous the filter text might be different. and they initialized the adapter in that method also
 
12:43 PM
yes
 
so that might be the reason. because previously tamil movies where showing
 
hmm
 
u r initializing the imageResourceUrl only in that method instead of that u have to give the value to each movie instance, then no need of imageResourceUrl image will load
bye @all
 
@TamilselvanKalimuthu
 

« first day (901 days earlier)      last day (116 days later) »