Sketchware project store success page Get link Facebook X Pinterest Email Other Apps August 14, 2021 You Project is ready for Download Get link Facebook X Pinterest Email Other Apps Comments Anonymous14 August 2021 at 20:43πΆππ€ReplyDeleteRepliesRealme c3331 March 2024 at 07:15HiDeleteRepliesReplyReplyUnknown7 October 2021 at 12:08private_data.addListenerForSingleValueEvent(new ValueEventListener() { @Override public void onDataChange(DataSnapshot _dataSnapshot) { setMap = new ArrayList<>(); try { GenericTypeIndicator> _ind = new GenericTypeIndicator>() {}; for (DataSnapshot _data : _dataSnapshot.getChildren()) { HashMap _map = _data.getValue(_ind); setMap.add(_map); } } catch (Exception _e) { _e.printStackTrace(); } position = 0; for(int _repeat33 = 0; _repeat33 < (int)(setMap.size()); _repeat33++) { if (setMap.get((int)position).get("uid").toString().equals(FirebaseAuth.getInstance().getCurrentUser().getUid())) { newMap = new HashMap<>(); newMap.put("note", setMap.get((int)position).get("note").toString()); newMap.put("title", setMap.get((int)position).get("title").toString()); newMap.put("time", setMap.get((int)position).get("time").toString()); mapList.add(newMap); } position++; } SketchwareUtil.sortListMap(mapList, "title", false, true); listview1.setAdapter(new Listview1Adapter(mapList)); ((BaseAdapter)listview1.getAdapter()).notifyDataSetChanged(); } @Override public void onCancelled(DatabaseError _databaseError) { }});Each time I run this code in the "onChildAdded" the data are always duplicating but whenever I add newMap.clear(); the app will then crash. Please, can you help me ReplyDeleteRepliesReplyUnknown30 November 2021 at 06:19Please add coin system userReplyDeleteRepliesReplyAdmin19 December 2021 at 03:26plz give linkReplyDeleteRepliesReplyUnknown21 April 2022 at 09:59What is this give us linkReplyDeleteRepliesReplyHealth By Hafeez28 July 2025 at 12:04Helo brother please give me spin earning app link please π₯Ίπ₯ΊReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
Spin & Earn Coins App Sketchware Project July 13, 2021 Spin and earn coins app made in sketchware project CLICK HERE TO DOWNLOAD THE PROJECT SWB FILE ( Use sketchware pro to restore this project swb file ) Read more
πΆππ€
ReplyDeleteHi
Deleteprivate_data.addListenerForSingleValueEvent(new ValueEventListener() {
ReplyDelete@Override
public void onDataChange(DataSnapshot _dataSnapshot) {
setMap = new ArrayList<>();
try {
GenericTypeIndicator> _ind = new GenericTypeIndicator>() {};
for (DataSnapshot _data : _dataSnapshot.getChildren()) {
HashMap _map = _data.getValue(_ind);
setMap.add(_map);
}
}
catch (Exception _e) {
_e.printStackTrace();
}
position = 0;
for(int _repeat33 = 0; _repeat33 < (int)(setMap.size()); _repeat33++) {
if (setMap.get((int)position).get("uid").toString().equals(FirebaseAuth.getInstance().getCurrentUser().getUid())) {
newMap = new HashMap<>();
newMap.put("note", setMap.get((int)position).get("note").toString());
newMap.put("title", setMap.get((int)position).get("title").toString());
newMap.put("time", setMap.get((int)position).get("time").toString());
mapList.add(newMap);
}
position++;
}
SketchwareUtil.sortListMap(mapList, "title", false, true);
listview1.setAdapter(new Listview1Adapter(mapList));
((BaseAdapter)listview1.getAdapter()).notifyDataSetChanged();
}
@Override
public void onCancelled(DatabaseError _databaseError) {
}
});
Each time I run this code in the "onChildAdded" the data are always duplicating but whenever I add newMap.clear(); the app will then crash.
Please, can you help me
Please add coin system user
ReplyDeleteplz give link
ReplyDeleteWhat is this give us link
ReplyDeleteHelo brother please give me spin earning app link please π₯Ίπ₯Ί
ReplyDelete