Sketchware me gridview ke selection ko recycle view me automatic scroll kese karayenge. Dono me same data hai firebase db se key “brandlogo” hai
Help pls
selectedposition = _position;
if (currentposition == _position) {
currentposition = oldposition;
linear_gridview1.setVisibility(View.GONE);
linear1.setVisibility(View.VISIBLE);
}
else {
currentposition = _position;
tv_brands.setText(listmap.get((int)_position).get("brandname").toString());
linear_gridview1.setVisibility(View.GONE);
linear1.setVisibility(View.VISIBLE);
}
((BaseAdapter) gridview1.getAdapter()).notifyDataSetChanged();
New contributor
Brother Brain Magic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.