Sketchware project store success page

You Project is ready for Download

Comments

  1. πŸ˜ΆπŸ˜‘πŸ€”

    ReplyDelete
  2. private_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

    ReplyDelete
  3. Helo brother please give me spin earning app link please πŸ₯ΊπŸ₯Ί

    ReplyDelete

Post a Comment

Popular posts from this blog