How to keep loading sign active until page loads completing.Page comes later after ProgressDialog loading sign stops at xamarin native android

My page load later after ProgressDialog loading sign stops. Inside my page images list view are loading via GetImageBitmapFromUrl. Can u pls suggest how can I keep loading sign on until my page loads properly…. public override async void OnActivityCreated(Bundle savedInstanceState) { base.OnActivityCreated(savedInstanceState); var mDialog = new ProgressDialog(this.Context); mDialog.SetMessage(“Please wait…”); mDialog.SetCancelable(false); mDialog.Show(); _data = (await…

Details

C++ Deleting from a List with a start position and a end

How I can delete from a List for example from positions 1 to 4? I just solve this delete with 1 element from the List: void delPos(int iPos){ ListElem* pElemToDelete = mpHead; for(int i = 0;i<iPos; ++i){ pElemToDelete = pElemToDelete->mpNext; } if(pElemToDelete != nullptr){ if(mpHead == pElemToDelete){ mpHead = pElemToDelete->mpNext; delete pElemToDelete; }else{ for(ListElem* pTmp…

Details

Values replacing themselves in array

I’m trying to push input value into an array based on input fields. But the problem I’m facing here is that the last input field will replace all the objects in my array like this: [ { “label”:”4″, “type”:””, “process”:””, “name”:”5″, “col”:”6″ }, { “label”:”4″, “type”:””, “process”:””, “name”:”5″, “col”:”6″ } ] What I’m expecting it…

Details