last day (14 days later) » 

05:38
ravi
there
bol ne bhura
yaar pelu checkbox nu haji med na avyu
hardy a thodi help kari ti
pela divse
but pacho issue ava mandyo
joi aap ne bhai
aakha adaptor no class mokal
model class pan banavyo
aakhi javafile share kar
05:41
aa adapter
aakhi java apu??
@RaviKoradiya jo
ha aakhi java
ha e api
ok
ModelPooja aap
ok
here it is
@RaviKoradiya
this is model
05:47
ok
@RaviKoradiya me constructor ma loop chalavi e and niche public method banavi e banee no jarur nathi..koi pan ek commnet ma mukvi jose
hu kari ne aapu badhu.
wait for 5 min
ok
hu pan ghoka mari jou chu
@RaviKoradiya tare listview ma data na male to temple id 1 apje
mali jase
jarur nathi
06:03
ok
checking
....
int count = 0;
aathu replace mari de j.
holder.checks.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton cb, boolean b) {


if (count == maxLimit && b) {
cb.setChecked(false);
Toast.makeText(context,
"Limit reached!!!", Toast.LENGTH_SHORT).show();
} else if (b) {
count++;
String myCheck = listData.get(position).getPOOJA_LISTING_AMOUNT();
listData.get(position).isselected = true;
Toast.makeText(context,
myCheck + " checked!",
Toast.LENGTH_SHORT)
.show();
} else if (!b) {
static kadhi nakhyu
na rakhva nu 6.
counter satic
06:07
nathi chaltu
Inner class ma na pade che
su kye 6?
Inner class can not have static declaration
1 min
kya static ni vat kare 6 tu?
static int count = 0;
eema su error aave 6??
screen shot aap.
06:10
Inner class can not have static declaration
aa class bija class ni andar 6?
ha akhi java file che
eek java file banavi nakh
CustomAdapterPooja.java
eema adapter no class muki de
ok
seperate kari nakhu chu
thai jay etle k j ho bhura.
@Aditya
06:15
na thyu
yaar same problem ave che
select karya pachi scrool karu to uncheck thay jay che
@RaviKoradiya
ok eek min
06:34
me last ma aapyu ee replace karyu?
@Aditya
setoncheckchanged listener
valo code?
only 2 check true kari ne try kar
2 checkbox select kari ne try karu em??
06:37
ha
ha 2 kari ne pan karyu
still same issue
means, reset thai jay 6??
select kar tyare checked no toast aave 6?
check kari ne scroll down kari ne scroll up karu atle uncheck thay che
ha ema to price male che
06:44
ok
replace this

@Override
public Object getItem(int position) {
// TODO Auto-generated method stub
return listData.get(position);
}

@Override
public long getItemId(int position) {
// TODO Auto-generated method stub
return 0;
}
ok
let me test
....
:(
no change
@RaviKoradiya
locho su che e j nathi maltu
have to badhu barobar 6
yeah
but to bhi checkbox chaltu nathi
thanks bhura help karva mate
no worry
kayk bijo rasto kadhi jou
:)
tare bhi ofc nu kam hase
06:52
holder.checks.setChecked(listData.get(position).isselected());
nuche aa line muki jo to

Log.e(getClass().getSimpleName(),"IsChecked : "+listData.get(position).isselected());
@Aditya
ok
me demo side ma banavyo che
same class and adapter no
eclipse ma
tane moklu?
ok
mail id lav ne
07:13
@RaviKoradiya bhai thodi var ma karu chu ho
baju ma chamcho betho se
e hamne nikde etli var
vandho nahi ne
07:49
@RaviKoradiya
 
1 hour later…
09:11
there
@RaviKoradiya
09:30
bhai mail jo
have mare var lagse, check karta
:(
no problem bhura
mare kale savare kari devanu che
 
4 hours later…
13:36
@RaviKoradiya bhai thay gyu che
heran na thato have
:)

last day (14 days later) »