C++ Char errors

So I’m trying to take the second to first character from “Expresie” which is a char array and copy it into a char variable, and then use the strcat function to place that variable at the end of another char array “Stiva”. this is the code: int SHIFT(char Expresie[], char Stiva[], int x) { char…

Details

Draw dominant color image shadow android

Is there any way to change imageview shadow to custom color. i searched alot about it . all i find the shadow showing through layer-list . i alsow tried from github implementation ‘com.jackandphantom.android:paletteshadowview:1.0.1’ implementation ‘com.android.support:palette-v7:28.0.0’ <!– <a> circular progressbar xml</a> –> <com.jackandphantom.paletteshadowview.PaletteShadowView android:layout_width=”250dp” android:layout_height=”250dp” android:layout_marginTop=”120dp” android:id=”@+id/hr” app:paletteOffsetX=”15″ app:paletteOffsetY=”15″ android:layout_centerHorizontal=”true” app:paletteSrc=”@drawable/image” />

Details

Share sink and stream in multiple screen

MainPage code ABCBloc _bloc; @override void didChangeDependencies() { _bloc = Provider.of<ABCBloc>(context, listen: false); super.didChangeDependencies(); } In one of the function in MainPage,I add list in the sink _bloc.pushNotificationSink.add(list); In PageB, I use the sink to get stream return StreamBuilder<List<String>>( stream: _bloc.pushNotificationStream, builder: (context, snapshotData) { if (snapshotData.hasData) { print(“it has data”); } else { print(“no…

Details

I need to get table row only with certain name from Firestore database but I’m stuck. Thanks

I need to get table row only with certain name from Firestore database so I’be thakful cuase I’m not very good at js and stuff. final DatabaseReference nameRef = database.getReference(“opapp”); nameRef.orderByChild(“name”).equalTo(Alexander Bol).addChildEventListener(new ChildEventListener() { @Override public void onChildAdded(DataSnapshot dataSnapshot, String prevChildKey) { System.out.println(dataSnapshot.getKey()); }

Details