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