package com.pas.abtahibo.parvaz;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class fragdownloadbook extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new BA(_ba, this, htSubs, "com.pas.abtahibo.parvaz.fragdownloadbook");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", com.pas.abtahibo.parvaz.fragdownloadbook.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 public anywheresoftware.b4a.keywords.Common __c = null;
public com.aghajari.rv.Amir_RecyclerView _recsooreh = null;
public anywheresoftware.b4a.sql.SQL _vvvvvvvvvvvvvvvvvv5 = null;
public anywheresoftware.b4a.sql.SQL.ResultSetWrapper _vvvvvvvvvvvvvvvvvv6 = null;
public anywheresoftware.b4a.objects.collections.List _list_id = null;
public anywheresoftware.b4a.objects.collections.List _list_doaa_name = null;
public anywheresoftware.b4a.objects.collections.List _list_hagm = null;
public anywheresoftware.b4a.objects.collections.List _list_pic = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_search = null;
public de.amberhome.objects.appcompat.ACEditTextWrapper _ed_search = null;
public anywheresoftware.b4a.objects.IME _vvvvvvvvvvvvvvvvvv0 = null;
public anywheresoftware.b4a.objects.PanelWrapper _vvvvvvvvvvvvv0 = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_back = null;
public anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
public ehsan.narmani.progressnumberview.EN_ProgressNumberView _vvvvvvvvvvvvvvvvvvvvv1 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_file = null;
public com.pas.abtahibo.parvaz.downloadalldoaa _vvvvvvvvvvvvvvvvvvvvvvvvv3 = null;
public int _vvvvvvvvvvvvvvvvvvvvvvvvv4 = 0;
public anywheresoftware.b4a.objects.LabelWrapper _l_cancel = null;
public com.pas.abtahibo.parvaz.multidownload _vvvvvvvvvvvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.custommaterialdialog _vvvvvvvvvvvvvvv2 = null;
public b4a.example.dateutils _vvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.main _vvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.actbook _vvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.actapps _vvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.actguide _vvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.actnotific _vvvvvvvvvvvvvvvv6 = null;
public com.pas.abtahibo.parvaz.func _vvvvvvvvvvvvvvvv7 = null;
public com.pas.abtahibo.parvaz.myservice _vvvvvvvvvvvvvvvv0 = null;
public com.pas.abtahibo.parvaz.playservicebook _vvvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.playsrds _vvvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.starter _vvvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.support _vvvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.urls _vvvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.xuiviewsutils _vvvvvvvvvvvvvvvvv6 = null;
public String  _vvvvvvvvvvv0() throws Exception{
 //BA.debugLineNum = 94;BA.debugLine="Sub addView";
 //BA.debugLineNum = 96;BA.debugLine="content.LoadLayout(\"doawnloadall\")";
_vvvvvvvvvvvvv0.LoadLayout("doawnloadall",ba);
 //BA.debugLineNum = 98;BA.debugLine="func.SetRipple(lab_back ,0x337FD3B1,0x884C9A7B,16";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab_back.getObject())),((int)0x337fd3b1),((int)0x884c9a7b),(float) (16));
 //BA.debugLineNum = 99;BA.debugLine="ed_search.RequestFocus";
_ed_search.RequestFocus();
 //BA.debugLineNum = 100;BA.debugLine="ed_search.Color=Colors.Transparent";
_ed_search.setColor(__c.Colors.Transparent);
 //BA.debugLineNum = 102;BA.debugLine="Label1.Text = func.gland(107)";
_label1.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (107))));
 //BA.debugLineNum = 103;BA.debugLine="L_File.Text = func.gland(56)";
_l_file.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (56))));
 //BA.debugLineNum = 104;BA.debugLine="ed_search.hint = func.gland(64)";
_ed_search.setHint(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (64)));
 //BA.debugLineNum = 106;BA.debugLine="Label1.Typeface = Typeface.CreateNew(Typeface.Loa";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 107;BA.debugLine="L_File.Typeface = Typeface.LoadFromAssets(func.fo";
_l_file.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 108;BA.debugLine="ed_search.Typeface = Typeface.LoadFromAssets(func";
_ed_search.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 110;BA.debugLine="func.MinimomFontLabel(L_File,14)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_l_file,(int) (14));
 //BA.debugLineNum = 111;BA.debugLine="func.MinimomFontLabel(Label1,14)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_label1,(int) (14));
 //BA.debugLineNum = 113;BA.debugLine="func.SetRipple(l_cancel,Colors.Transparent,0xaaee";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_cancel.getObject())),__c.Colors.Transparent,((int)0xaaeeeeee),(float) (5));
 //BA.debugLineNum = 115;BA.debugLine="ehsan.Initialize(\"\")";
_vvvvvvvvvvvvvvvvvvvvv1.Initialize(ba,"");
 //BA.debugLineNum = 116;BA.debugLine="content.AddView(ehsan,7%x+40dip,L_File.Top+L_File";
_vvvvvvvvvvvvv0.AddView((android.view.View)(_vvvvvvvvvvvvvvvvvvvvv1.getObject()),(int) (__c.PerXToCurrent((float) (7),ba)+__c.DipToCurrent((int) (40))),(int) (_l_file.getTop()+_l_file.getHeight()+__c.DipToCurrent((int) (5))),(int) (__c.PerXToCurrent((float) (100),ba)-2*(__c.PerXToCurrent((float) (7),ba)+__c.DipToCurrent((int) (40)))),__c.DipToCurrent((int) (40)));
 //BA.debugLineNum = 118;BA.debugLine="ehsan.SetProgressColor(0xFF00FF15)";
_vvvvvvvvvvvvvvvvvvvvv1.SetProgressColor(((int)0xff00ff15));
 //BA.debugLineNum = 119;BA.debugLine="ehsan.SetProgressTextColor(Colors.Black)";
_vvvvvvvvvvvvvvvvvvvvv1.SetProgressTextColor(__c.Colors.Black);
 //BA.debugLineNum = 120;BA.debugLine="ehsan.SetProgressTextSize(40)";
_vvvvvvvvvvvvvvvvvvvvv1.SetProgressTextSize((int) (40));
 //BA.debugLineNum = 121;BA.debugLine="ehsan.SetUnreachedBarColor(0XAAEEEEEE)";
_vvvvvvvvvvvvvvvvvvvvv1.SetUnreachedBarColor(((int)0xaaeeeeee));
 //BA.debugLineNum = 122;BA.debugLine="ehsan.SetProgress(0)";
_vvvvvvvvvvvvvvvvvvvvv1.SetProgress((int) (0));
 //BA.debugLineNum = 124;BA.debugLine="End Sub";
return "";
}
public String  _class_globals() throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 3;BA.debugLine="Private recSooreh As AX_RecyclerView";
_recsooreh = new com.aghajari.rv.Amir_RecyclerView();
 //BA.debugLineNum = 5;BA.debugLine="Dim sql As SQL";
_vvvvvvvvvvvvvvvvvv5 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 6;BA.debugLine="Dim Cursor As ResultSet";
_vvvvvvvvvvvvvvvvvv6 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
 //BA.debugLineNum = 8;BA.debugLine="Dim List_id  		  As List";
_list_id = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 9;BA.debugLine="Dim List_doaa_name  As List";
_list_doaa_name = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 10;BA.debugLine="Dim List_hagm  As List";
_list_hagm = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 11;BA.debugLine="Dim List_Pic  As List";
_list_pic = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 13;BA.debugLine="Private lab_search As Label";
_lab_search = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 14;BA.debugLine="Private ed_search As ACEditText";
_ed_search = new de.amberhome.objects.appcompat.ACEditTextWrapper();
 //BA.debugLineNum = 16;BA.debugLine="Dim ime As IME";
_vvvvvvvvvvvvvvvvvv0 = new anywheresoftware.b4a.objects.IME();
 //BA.debugLineNum = 18;BA.debugLine="Dim content As Panel";
_vvvvvvvvvvvvv0 = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 19;BA.debugLine="Dim lab_back As Label";
_lab_back = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 21;BA.debugLine="Private Label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 23;BA.debugLine="Private ehsan     As EN_NumberProgressView";
_vvvvvvvvvvvvvvvvvvvvv1 = new ehsan.narmani.progressnumberview.EN_ProgressNumberView();
 //BA.debugLineNum = 24;BA.debugLine="Private L_File As Label";
_l_file = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 26;BA.debugLine="Private downloadDoaa As downloadallDoaa";
_vvvvvvvvvvvvvvvvvvvvvvvvv3 = new com.pas.abtahibo.parvaz.downloadalldoaa();
 //BA.debugLineNum = 28;BA.debugLine="Dim iDekeye As Int";
_vvvvvvvvvvvvvvvvvvvvvvvvv4 = 0;
 //BA.debugLineNum = 30;BA.debugLine="Dim l_cancel As Label";
_l_cancel = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 32;BA.debugLine="Dim dbsD As multiDownload";
_vvvvvvvvvvvvvvvvvvvvvvvvv5 = new com.pas.abtahibo.parvaz.multidownload();
 //BA.debugLineNum = 34;BA.debugLine="Private customDialog As customMaterialDialog";
_vvvvvvvvvvvvvvv2 = new com.pas.abtahibo.parvaz.custommaterialdialog();
 //BA.debugLineNum = 37;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvv1() throws Exception{
 //BA.debugLineNum = 404;BA.debugLine="Sub close";
 //BA.debugLineNum = 406;BA.debugLine="If ed_search.Text=\"\" Then";
if ((_ed_search.getText()).equals("")) { 
 //BA.debugLineNum = 407;BA.debugLine="If downloadDoaa.IsInitialized Then downloadDoaa.";
if (_vvvvvvvvvvvvvvvvvvvvvvvvv3.IsInitialized /*boolean*/ ()) { 
_vvvvvvvvvvvvvvvvvvvvvvvvv3._vvvvvvvvvvvv1 /*String*/ ();};
 //BA.debugLineNum = 408;BA.debugLine="CallSub2(actBook,\"show_hide_frag\",func.listIniti";
__c.CallSubNew2(ba,(Object)(_vvvvvvvvvvvvvvvv3.getObject()),"show_hide_frag",(Object)(_vvvvvvvvvvvvvvvv7._vvv0 /*anywheresoftware.b4a.objects.collections.List*/ (ba,(int) (14),this,"")));
 }else {
 //BA.debugLineNum = 410;BA.debugLine="hideKey";
_vvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 412;BA.debugLine="ed_search.Text=\"\"";
_ed_search.setText(BA.ObjectToCharSequence(""));
 };
 //BA.debugLineNum = 415;BA.debugLine="End Sub";
return "";
}
public String  _deleh() throws Exception{
 //BA.debugLineNum = 363;BA.debugLine="Sub delEh";
 //BA.debugLineNum = 364;BA.debugLine="ehsan.SetProgress(0)";
_vvvvvvvvvvvvvvvvvvvvv1.SetProgress((int) (0));
 //BA.debugLineNum = 365;BA.debugLine="End Sub";
return "";
}
public String  _dialog_positive() throws Exception{
 //BA.debugLineNum = 335;BA.debugLine="Private Sub Dialog_Positive";
 //BA.debugLineNum = 337;BA.debugLine="func.hazf(File.DirInternal&\"/abtahi/Book/\"&List_i";
_vvvvvvvvvvvvvvvv7._vvv3 /*String*/ (ba,__c.File.getDirInternal()+"/abtahi/Book/"+BA.ObjectToString(_list_id.Get(_vvvvvvvvvvvvvvvvvvvvvvvvv4)));
 //BA.debugLineNum = 338;BA.debugLine="CallSubDelayed(Me,\"RefUlv\")";
__c.CallSubDelayed(ba,this,"RefUlv");
 //BA.debugLineNum = 340;BA.debugLine="End Sub";
return "";
}
public String  _download_pakhsh(int _idbook) throws Exception{
anywheresoftware.b4a.objects.collections.List _lis = null;
 //BA.debugLineNum = 344;BA.debugLine="Private Sub download_pakhsh(idBook As Int)";
 //BA.debugLineNum = 346;BA.debugLine="dbsD.delBook(idBook)";
_vvvvvvvvvvvvvvvvvvvvvvvvv5._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 /*String*/ (BA.NumberToString(_idbook));
 //BA.debugLineNum = 348;BA.debugLine="Dim lis As List = dbsD.selectAll";
_lis = new anywheresoftware.b4a.objects.collections.List();
_lis = _vvvvvvvvvvvvvvvvvvvvvvvvv5._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 /*anywheresoftware.b4a.objects.collections.List*/ ();
 //BA.debugLineNum = 350;BA.debugLine="If lis.Size > 0 Then";
if (_lis.getSize()>0) { 
 //BA.debugLineNum = 351;BA.debugLine="startDownload(lis)";
_vvvvvvvvvvvvvvvvvvvvvvvvv2(_lis);
 //BA.debugLineNum = 352;BA.debugLine="CallSubDelayed(Me,\"RefUlv\")";
__c.CallSubDelayed(ba,this,"RefUlv");
 }else {
 //BA.debugLineNum = 354;BA.debugLine="L_File.Text = func.gland(56)";
_l_file.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (56))));
 //BA.debugLineNum = 355;BA.debugLine="L_File.TextColor = Colors.Black";
_l_file.setTextColor(__c.Colors.Black);
 //BA.debugLineNum = 356;BA.debugLine="CallSubDelayed(Me,\"RefUlv\")";
__c.CallSubDelayed(ba,this,"RefUlv");
 //BA.debugLineNum = 357;BA.debugLine="CallSubDelayed(Me,\"delEh\")";
__c.CallSubDelayed(ba,this,"delEh");
 };
 //BA.debugLineNum = 360;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvv0(int _idbook) throws Exception{
 //BA.debugLineNum = 305;BA.debugLine="Sub downloadF(idBook As Int)";
 //BA.debugLineNum = 307;BA.debugLine="downloadDoaa.download(idBook)";
_vvvvvvvvvvvvvvvvvvvvvvvvv3._vvvvvvvvvv1 /*String*/ (_idbook);
 //BA.debugLineNum = 308;BA.debugLine="L_File.Text = List_doaa_name.Get(List_id.IndexOf(";
_l_file.setText(BA.ObjectToCharSequence(_list_doaa_name.Get(_list_id.IndexOf((Object)(_idbook)))));
 //BA.debugLineNum = 309;BA.debugLine="L_File.TextColor = Colors.Red";
_l_file.setTextColor(__c.Colors.Red);
 //BA.debugLineNum = 311;BA.debugLine="End Sub";
return "";
}
public String  _ed_search_textchanged(String _old,String _new) throws Exception{
 //BA.debugLineNum = 368;BA.debugLine="Sub ed_search_TextChanged (Old As String, New As S";
 //BA.debugLineNum = 370;BA.debugLine="If List_id.IsInitialized Then";
if (_list_id.IsInitialized()) { 
 //BA.debugLineNum = 372;BA.debugLine="List_id.Clear";
_list_id.Clear();
 //BA.debugLineNum = 373;BA.debugLine="List_doaa_name.Clear";
_list_doaa_name.Clear();
 //BA.debugLineNum = 374;BA.debugLine="List_hagm.Clear";
_list_hagm.Clear();
 //BA.debugLineNum = 375;BA.debugLine="List_Pic.Clear";
_list_pic.Clear();
 //BA.debugLineNum = 377;BA.debugLine="Cursor = sql.ExecQuery(\"SELECT idindex,name,hagm";
_vvvvvvvvvvvvvvvvvv6 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_vvvvvvvvvvvvvvvvvv5.ExecQuery("SELECT idindex,name,hagm,enname FROM book  where lang = '"+_vvvvvvvvvvvvvvvv7._vvvv7 /*String*/ (ba,"lan2FaEn",BA.NumberToString(1))+"' and name LIKE '%"+_new+"%'  order by idindex asc")));
 //BA.debugLineNum = 379;BA.debugLine="Do While Cursor.NextRow";
while (_vvvvvvvvvvvvvvvvvv6.NextRow()) {
 //BA.debugLineNum = 381;BA.debugLine="List_doaa_name.add((Cursor.GetString(\"name\")))";
_list_doaa_name.Add((Object)((_vvvvvvvvvvvvvvvvvv6.GetString("name"))));
 //BA.debugLineNum = 382;BA.debugLine="List_Pic.add((Cursor.GetString(\"enname\")))";
_list_pic.Add((Object)((_vvvvvvvvvvvvvvvvvv6.GetString("enname"))));
 //BA.debugLineNum = 383;BA.debugLine="List_id.add((Cursor.GetInt(\"idindex\")))";
_list_id.Add((Object)((_vvvvvvvvvvvvvvvvvv6.GetInt("idindex"))));
 //BA.debugLineNum = 384;BA.debugLine="List_hagm.add((Cursor.GetInt(\"hagm\")))";
_list_hagm.Add((Object)((_vvvvvvvvvvvvvvvvvv6.GetInt("hagm"))));
 }
;
 //BA.debugLineNum = 386;BA.debugLine="Loop : Cursor.Close";
_vvvvvvvvvvvvvvvvvv6.Close();
 //BA.debugLineNum = 388;BA.debugLine="CallSubDelayed(Me,\"RefUlv\")";
__c.CallSubDelayed(ba,this,"RefUlv");
 };
 //BA.debugLineNum = 392;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvv0() throws Exception{
 //BA.debugLineNum = 139;BA.debugLine="Sub hideKey";
 //BA.debugLineNum = 140;BA.debugLine="ime.HideKeyboard";
_vvvvvvvvvvvvvvvvvv0.HideKeyboard(ba);
 //BA.debugLineNum = 141;BA.debugLine="End Sub";
return "";
}
public boolean  _ime_handleaction() throws Exception{
 //BA.debugLineNum = 143;BA.debugLine="Sub ime_HandleAction As Boolean";
 //BA.debugLineNum = 144;BA.debugLine="hideKey";
_vvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 145;BA.debugLine="Return True";
if (true) return __c.True;
 //BA.debugLineNum = 146;BA.debugLine="End Sub";
return false;
}
public String  _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
 //BA.debugLineNum = 39;BA.debugLine="Public Sub Initialize";
 //BA.debugLineNum = 40;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvvv1(int _pos) throws Exception{
 //BA.debugLineNum = 286;BA.debugLine="Sub interOth(pos As Int)";
 //BA.debugLineNum = 288;BA.debugLine="If dbsD.sel0Book( List_id.Get(pos)) Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvv5._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 /*boolean*/ (BA.ObjectToString(_list_id.Get(_pos)))) { 
 //BA.debugLineNum = 289;BA.debugLine="func.ToastERROR(func.gland(249))";
_vvvvvvvvvvvvvvvv7._vvvvvvv0 /*String*/ (ba,_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (249)));
 //BA.debugLineNum = 290;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 293;BA.debugLine="func.savePFM(\"ennameBook\",List_Pic.Get(pos))";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"ennameBook",BA.ObjectToString(_list_pic.Get(_pos)));
 //BA.debugLineNum = 294;BA.debugLine="func.savePFM(\"NameBook\",List_doaa_name.Get(pos))";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"NameBook",BA.ObjectToString(_list_doaa_name.Get(_pos)));
 //BA.debugLineNum = 295;BA.debugLine="func.savePFM(\"idBook\",List_id.Get(pos))";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"idBook",BA.ObjectToString(_list_id.Get(_pos)));
 //BA.debugLineNum = 297;BA.debugLine="CallSub2(actBook,\"show_hide_frag\",func.listInitia";
__c.CallSubNew2(ba,(Object)(_vvvvvvvvvvvvvvvv3.getObject()),"show_hide_frag",(Object)(_vvvvvvvvvvvvvvvv7._vvv0 /*anywheresoftware.b4a.objects.collections.List*/ (ba,(int) (16),this,"")));
 //BA.debugLineNum = 299;BA.debugLine="End Sub";
return "";
}
public String  _l_cancel_click() throws Exception{
 //BA.debugLineNum = 126;BA.debugLine="Sub l_cancel_Click";
 //BA.debugLineNum = 128;BA.debugLine="downloadDoaa.close";
_vvvvvvvvvvvvvvvvvvvvvvvvv3._vvvvvvvvvvvv1 /*String*/ ();
 //BA.debugLineNum = 130;BA.debugLine="L_File.Text = func.gland(56)";
_l_file.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (56))));
 //BA.debugLineNum = 131;BA.debugLine="L_File.TextColor = Colors.Black";
_l_file.setTextColor(__c.Colors.Black);
 //BA.debugLineNum = 132;BA.debugLine="CallSubDelayed(Me,\"RefUlv\")";
__c.CallSubDelayed(ba,this,"RefUlv");
 //BA.debugLineNum = 133;BA.debugLine="CallSubDelayed(Me,\"delEh\")";
__c.CallSubDelayed(ba,this,"delEh");
 //BA.debugLineNum = 135;BA.debugLine="dbsD.deleteAllBook";
_vvvvvvvvvvvvvvvvvvvvvvvvv5._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1 /*String*/ ();
 //BA.debugLineNum = 137;BA.debugLine="End Sub";
return "";
}
public String  _lab_back_click() throws Exception{
 //BA.debugLineNum = 400;BA.debugLine="Sub lab_back_Click";
 //BA.debugLineNum = 401;BA.debugLine="close";
_vvvvvvvvvvvv1();
 //BA.debugLineNum = 402;BA.debugLine="End Sub";
return "";
}
public String  _ldelete_click() throws Exception{
anywheresoftware.b4a.objects.LabelWrapper _pp = null;
boolean _t1 = false;
 //BA.debugLineNum = 313;BA.debugLine="Sub lDelete_Click";
 //BA.debugLineNum = 315;BA.debugLine="hideKey";
_vvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 317;BA.debugLine="Dim pp As Label=Sender";
_pp = new anywheresoftware.b4a.objects.LabelWrapper();
_pp = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)));
 //BA.debugLineNum = 319;BA.debugLine="Dim t1  As Boolean";
_t1 = false;
 //BA.debugLineNum = 320;BA.debugLine="t1  = File.Exists(File.DirInternal,\"abtahi/Book/\"";
_t1 = __c.File.Exists(__c.File.getDirInternal(),"abtahi/Book/"+BA.ObjectToString(_list_id.Get((int)(BA.ObjectToNumber(_pp.getTag()))))+"/1.mp3");
 //BA.debugLineNum = 321;BA.debugLine="If t1 Then";
if (_t1) { 
 //BA.debugLineNum = 322;BA.debugLine="iDekeye = pp.Tag";
_vvvvvvvvvvvvvvvvvvvvvvvvv4 = (int)(BA.ObjectToNumber(_pp.getTag()));
 //BA.debugLineNum = 323;BA.debugLine="Warnning";
_vvvvvvvvvvvvv3();
 };
 //BA.debugLineNum = 327;BA.debugLine="End Sub";
return "";
}
public void  _vvvvvvvvvvvv5(anywheresoftware.b4a.objects.PanelWrapper _parent) throws Exception{
ResumableSub_onCreateView rsub = new ResumableSub_onCreateView(this,_parent);
rsub.resume(ba, null);
}
public static class ResumableSub_onCreateView extends BA.ResumableSub {
public ResumableSub_onCreateView(com.pas.abtahibo.parvaz.fragdownloadbook parent,anywheresoftware.b4a.objects.PanelWrapper _parent) {
this.parent = parent;
this._parent = _parent;
}
com.pas.abtahibo.parvaz.fragdownloadbook parent;
anywheresoftware.b4a.objects.PanelWrapper _parent;
anywheresoftware.b4a.objects.LabelWrapper _l2n = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
 //BA.debugLineNum = 46;BA.debugLine="content = Parent";
parent._vvvvvvvvvvvvv0 = _parent;
 //BA.debugLineNum = 47;BA.debugLine="content.Color = 0xFFFBFDFF";
parent._vvvvvvvvvvvvv0.setColor(((int)0xfffbfdff));
 //BA.debugLineNum = 49;BA.debugLine="Dim l2n As Label";
_l2n = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 50;BA.debugLine="l2n.Initialize(\"\")";
_l2n.Initialize(ba,"");
 //BA.debugLineNum = 51;BA.debugLine="content.AddView(l2n,0,50%y-30dip,100%x,60dip)";
parent._vvvvvvvvvvvvv0.AddView((android.view.View)(_l2n.getObject()),(int) (0),(int) (parent.__c.PerYToCurrent((float) (50),ba)-parent.__c.DipToCurrent((int) (30))),parent.__c.PerXToCurrent((float) (100),ba),parent.__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 52;BA.debugLine="l2n.Typeface = Typeface.CreateNew(Typeface.LoadFr";
_l2n.setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.LoadFromAssets(parent._vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),parent.__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 53;BA.debugLine="l2n.Text=func.gland(54)";
_l2n.setText(BA.ObjectToCharSequence(parent._vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (54))));
 //BA.debugLineNum = 54;BA.debugLine="l2n.Gravity=Bit.Or(Gravity.CENTER,Gravity.CENTER_";
_l2n.setGravity(parent.__c.Bit.Or(parent.__c.Gravity.CENTER,parent.__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 55;BA.debugLine="l2n.textColor = Colors.Black";
_l2n.setTextColor(parent.__c.Colors.Black);
 //BA.debugLineNum = 56;BA.debugLine="l2n.TextSize=14";
_l2n.setTextSize((float) (14));
 //BA.debugLineNum = 58;BA.debugLine="l2n.Visible = True";
_l2n.setVisible(parent.__c.True);
 //BA.debugLineNum = 59;BA.debugLine="Sleep(5)";
parent.__c.Sleep(ba,this,(int) (5));
this.state = 9;
return;
case 9:
//C
this.state = 1;
;
 //BA.debugLineNum = 60;BA.debugLine="addView";
parent._vvvvvvvvvvv0();
 //BA.debugLineNum = 61;BA.debugLine="l2n.Visible = False";
_l2n.setVisible(parent.__c.False);
 //BA.debugLineNum = 63;BA.debugLine="dbsD.Initialize(\"book\",\"id_book\")";
parent._vvvvvvvvvvvvvvvvvvvvvvvvv5._initialize /*String*/ (ba,"book","id_book");
 //BA.debugLineNum = 65;BA.debugLine="List_id.Initialize";
parent._list_id.Initialize();
 //BA.debugLineNum = 66;BA.debugLine="List_doaa_name.Initialize";
parent._list_doaa_name.Initialize();
 //BA.debugLineNum = 67;BA.debugLine="List_hagm.Initialize";
parent._list_hagm.Initialize();
 //BA.debugLineNum = 68;BA.debugLine="List_Pic.Initialize";
parent._list_pic.Initialize();
 //BA.debugLineNum = 70;BA.debugLine="If sql.IsInitialized=False Then";
if (true) break;

case 1:
//if
this.state = 4;
if (parent._vvvvvvvvvvvvvvvvvv5.IsInitialized()==parent.__c.False) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 71;BA.debugLine="sql.Initialize(File.DirInternal,\"quransooreh.db\"";
parent._vvvvvvvvvvvvvvvvvv5.Initialize(parent.__c.File.getDirInternal(),"quransooreh.db",parent.__c.True);
 if (true) break;

case 4:
//C
this.state = 5;
;
 //BA.debugLineNum = 74;BA.debugLine="Cursor = sql.ExecQuery(\"SELECT idindex,name,hagm,";
parent._vvvvvvvvvvvvvvvvvv6 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent._vvvvvvvvvvvvvvvvvv5.ExecQuery("SELECT idindex,name,hagm,enname FROM book  where lang = '"+parent._vvvvvvvvvvvvvvvv7._vvvv7 /*String*/ (ba,"lan2FaEn",BA.NumberToString(1))+"' order by idindex asc")));
 //BA.debugLineNum = 75;BA.debugLine="Do While Cursor.NextRow";
if (true) break;

case 5:
//do while
this.state = 8;
while (parent._vvvvvvvvvvvvvvvvvv6.NextRow()) {
this.state = 7;
if (true) break;
}
if (true) break;

case 7:
//C
this.state = 5;
 //BA.debugLineNum = 77;BA.debugLine="List_doaa_name.add((Cursor.GetString(\"name\")))";
parent._list_doaa_name.Add((Object)((parent._vvvvvvvvvvvvvvvvvv6.GetString("name"))));
 //BA.debugLineNum = 78;BA.debugLine="List_Pic.add((Cursor.GetString(\"enname\")))";
parent._list_pic.Add((Object)((parent._vvvvvvvvvvvvvvvvvv6.GetString("enname"))));
 //BA.debugLineNum = 79;BA.debugLine="List_id.add((Cursor.GetInt(\"idindex\")))";
parent._list_id.Add((Object)((parent._vvvvvvvvvvvvvvvvvv6.GetInt("idindex"))));
 //BA.debugLineNum = 80;BA.debugLine="List_hagm.add((Cursor.GetInt(\"hagm\")))";
parent._list_hagm.Add((Object)((parent._vvvvvvvvvvvvvvvvvv6.GetInt("hagm"))));
 if (true) break;

case 8:
//C
this.state = -1;
;
 //BA.debugLineNum = 82;BA.debugLine="Loop : Cursor.Close";
parent._vvvvvvvvvvvvvvvvvv6.Close();
 //BA.debugLineNum = 85;BA.debugLine="downloadDoaa.Initialize(Me,\"download\",content,ehs";
parent._vvvvvvvvvvvvvvvvvvvvvvvvv3._initialize /*String*/ (ba,parent,"download",parent._vvvvvvvvvvvvv0,parent._vvvvvvvvvvvvvvvvvvvvv1,"book");
 //BA.debugLineNum = 87;BA.debugLine="ime.Initialize(\"ime\")";
parent._vvvvvvvvvvvvvvvvvv0.Initialize("ime");
 //BA.debugLineNum = 88;BA.debugLine="ime.AddHandleActionEvent(ed_search)";
parent._vvvvvvvvvvvvvvvvvv0.AddHandleActionEvent((android.widget.EditText)(parent._ed_search.getObject()),ba);
 //BA.debugLineNum = 90;BA.debugLine="customDialog.Initialize(content,Me)";
parent._vvvvvvvvvvvvvvv2._initialize /*String*/ (ba,parent._vvvvvvvvvvvvv0,parent);
 //BA.debugLineNum = 92;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _vvvvvvvvvvvv6(int _keycode) throws Exception{
 //BA.debugLineNum = 417;BA.debugLine="public Sub onKey (KeyCode As Int)";
 //BA.debugLineNum = 419;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then";
if (_keycode==__c.KeyCodes.KEYCODE_BACK) { 
 //BA.debugLineNum = 420;BA.debugLine="close";
_vvvvvvvvvvvv1();
 };
 //BA.debugLineNum = 423;BA.debugLine="End Sub";
return "";
}
public String  _pan_click() throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _pp = null;
boolean _t1 = false;
anywheresoftware.b4a.objects.collections.List _lis = null;
 //BA.debugLineNum = 253;BA.debugLine="Sub pan_Click";
 //BA.debugLineNum = 255;BA.debugLine="hideKey";
_vvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 257;BA.debugLine="Dim pp As Panel=Sender";
_pp = new anywheresoftware.b4a.objects.PanelWrapper();
_pp = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)));
 //BA.debugLineNum = 259;BA.debugLine="If 0 = List_hagm.Get(pp.Tag) Then";
if (0==(double)(BA.ObjectToNumber(_list_hagm.Get((int)(BA.ObjectToNumber(_pp.getTag())))))) { 
 //BA.debugLineNum = 260;BA.debugLine="func.ToastERROR(func.gland(110))";
_vvvvvvvvvvvvvvvv7._vvvvvvv0 /*String*/ (ba,_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (110)));
 }else {
 //BA.debugLineNum = 263;BA.debugLine="Dim t1  As Boolean";
_t1 = false;
 //BA.debugLineNum = 264;BA.debugLine="t1  = File.Exists(File.DirInternal,\"abtahi/Book/";
_t1 = __c.File.Exists(__c.File.getDirInternal(),"abtahi/Book/"+BA.ObjectToString(_list_id.Get((int)(BA.ObjectToNumber(_pp.getTag()))))+"/1.mp3");
 //BA.debugLineNum = 265;BA.debugLine="If t1 Then";
if (_t1) { 
 //BA.debugLineNum = 267;BA.debugLine="interOth(pp.tag)";
_vvvvvvvvvvvvvvvvvvvvvvvvv1((int)(BA.ObjectToNumber(_pp.getTag())));
 }else {
 //BA.debugLineNum = 271;BA.debugLine="dbsD.insertBook(List_id.Get(pp.Tag))";
_vvvvvvvvvvvvvvvvvvvvvvvvv5._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2 /*String*/ (BA.ObjectToString(_list_id.Get((int)(BA.ObjectToNumber(_pp.getTag())))));
 //BA.debugLineNum = 273;BA.debugLine="Dim lis As List = dbsD.selectAll";
_lis = new anywheresoftware.b4a.objects.collections.List();
_lis = _vvvvvvvvvvvvvvvvvvvvvvvvv5._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 /*anywheresoftware.b4a.objects.collections.List*/ ();
 //BA.debugLineNum = 274;BA.debugLine="If lis.Size = 1 Then";
if (_lis.getSize()==1) { 
 //BA.debugLineNum = 275;BA.debugLine="startDownload(lis)";
_vvvvvvvvvvvvvvvvvvvvvvvvv2(_lis);
 };
 //BA.debugLineNum = 278;BA.debugLine="CallSubDelayed(Me,\"RefUlv\")";
__c.CallSubDelayed(ba,this,"RefUlv");
 };
 };
 //BA.debugLineNum = 284;BA.debugLine="End Sub";
return "";
}
public int  _recsooreh_getitemcount() throws Exception{
 //BA.debugLineNum = 175;BA.debugLine="Sub recSooreh_GetItemCount As Int";
 //BA.debugLineNum = 176;BA.debugLine="Return List_id.Size";
if (true) return _list_id.getSize();
 //BA.debugLineNum = 177;BA.debugLine="End Sub";
return 0;
}
public String  _recsooreh_onbindviewholder(anywheresoftware.b4a.objects.PanelWrapper _parent,int _position) throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _pan = null;
anywheresoftware.b4a.objects.LabelWrapper _lab1 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab3 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab4 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab2 = null;
boolean _t1 = false;
 //BA.debugLineNum = 179;BA.debugLine="Sub recSooreh_onBindViewHolder (Parent As Panel,Po";
 //BA.debugLineNum = 181;BA.debugLine="Dim pan As Panel=Parent.GetView(0)";
_pan = new anywheresoftware.b4a.objects.PanelWrapper();
_pan = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_parent.GetView((int) (0)).getObject()));
 //BA.debugLineNum = 182;BA.debugLine="Dim lab1 As Label=pan.GetView(0)";
_lab1 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab1 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_pan.GetView((int) (0)).getObject()));
 //BA.debugLineNum = 183;BA.debugLine="Dim lab3 As Label=pan.GetView(1)";
_lab3 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab3 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_pan.GetView((int) (1)).getObject()));
 //BA.debugLineNum = 184;BA.debugLine="Dim lab4 As Label=pan.GetView(2)";
_lab4 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab4 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_pan.GetView((int) (2)).getObject()));
 //BA.debugLineNum = 186;BA.debugLine="Dim lab2 As Label=Parent.GetView(1)";
_lab2 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab2 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_parent.GetView((int) (1)).getObject()));
 //BA.debugLineNum = 190;BA.debugLine="pan.Tag = Position";
_pan.setTag((Object)(_position));
 //BA.debugLineNum = 191;BA.debugLine="pan.Elevation = 2dip";
_pan.setElevation((float) (__c.DipToCurrent((int) (2))));
 //BA.debugLineNum = 193;BA.debugLine="If dbsD.sel0Book( List_id.Get(Position)) Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvv5._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 /*boolean*/ (BA.ObjectToString(_list_id.Get(_position)))) { 
 //BA.debugLineNum = 194;BA.debugLine="func.SetRipple(pan,0xFFCDFFD9,0x99eeeeee,25)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_pan.getObject())),((int)0xffcdffd9),((int)0x99eeeeee),(float) (25));
 }else {
 //BA.debugLineNum = 197;BA.debugLine="func.SetRipple(pan,Colors.White,0x99eeeeee,25)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_pan.getObject())),__c.Colors.White,((int)0x99eeeeee),(float) (25));
 };
 //BA.debugLineNum = 201;BA.debugLine="func.setEllipsize(lab1,\"END\")";
_vvvvvvvvvvvvvvvv7._vvvvv4 /*String*/ (ba,_lab1,"END");
 //BA.debugLineNum = 202;BA.debugLine="lab1.Typeface=Typeface.LoadFromAssets(func.font3)";
_lab1.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 203;BA.debugLine="lab1.Text= List_id.Get(Position) & \"- \" & List_do";
_lab1.setText(BA.ObjectToCharSequence(BA.ObjectToString(_list_id.Get(_position))+"- "+BA.ObjectToString(_list_doaa_name.Get(_position))));
 //BA.debugLineNum = 204;BA.debugLine="lab1.Gravity=Bit.Or(Gravity.RIGHT,Gravity.CENTER_";
_lab1.setGravity(__c.Bit.Or(__c.Gravity.RIGHT,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 205;BA.debugLine="lab1.TextSize = 14";
_lab1.setTextSize((float) (14));
 //BA.debugLineNum = 207;BA.debugLine="If 0 = List_hagm.Get(Position) Then";
if (0==(double)(BA.ObjectToNumber(_list_hagm.Get(_position)))) { 
 //BA.debugLineNum = 208;BA.debugLine="lab1.textColor = 0xFFC2C1C1";
_lab1.setTextColor(((int)0xffc2c1c1));
 }else {
 //BA.debugLineNum = 210;BA.debugLine="lab1.textColor = Colors.Black";
_lab1.setTextColor(__c.Colors.Black);
 };
 //BA.debugLineNum = 213;BA.debugLine="lab2.Text = Chr(0xF1F8)";
_lab2.setText(BA.ObjectToCharSequence(__c.Chr(((int)0xf1f8))));
 //BA.debugLineNum = 214;BA.debugLine="lab2.Typeface = Typeface.FONTAWESOME";
_lab2.setTypeface(__c.Typeface.getFONTAWESOME());
 //BA.debugLineNum = 215;BA.debugLine="lab2.Gravity = Bit.Or(Gravity.CENTER,Gravity.CENT";
_lab2.setGravity(__c.Bit.Or(__c.Gravity.CENTER,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 216;BA.debugLine="lab2.TextSize = 25";
_lab2.setTextSize((float) (25));
 //BA.debugLineNum = 217;BA.debugLine="lab2.Tag = Position";
_lab2.setTag((Object)(_position));
 //BA.debugLineNum = 219;BA.debugLine="lab3.Text = Chr(0xF0ED)";
_lab3.setText(BA.ObjectToCharSequence(__c.Chr(((int)0xf0ed))));
 //BA.debugLineNum = 220;BA.debugLine="lab3.Typeface = Typeface.FONTAWESOME";
_lab3.setTypeface(__c.Typeface.getFONTAWESOME());
 //BA.debugLineNum = 221;BA.debugLine="lab3.Gravity = Bit.Or(Gravity.CENTER,Gravity.CENT";
_lab3.setGravity(__c.Bit.Or(__c.Gravity.CENTER,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 222;BA.debugLine="lab3.TextSize = 25";
_lab3.setTextSize((float) (25));
 //BA.debugLineNum = 224;BA.debugLine="lab4.Text = func.gland(108)&\": \"&List_hagm.Get(Po";
_lab4.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (108))+": "+BA.ObjectToString(_list_hagm.Get(_position))+" "+_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (109))));
 //BA.debugLineNum = 225;BA.debugLine="lab4.Typeface = Typeface.LoadFromAssets(func.font";
_lab4.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 226;BA.debugLine="lab4.Gravity = Bit.Or(Gravity.LEFT,Gravity.CENTER";
_lab4.setGravity(__c.Bit.Or(__c.Gravity.LEFT,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 227;BA.debugLine="func.MinimomFontLabel(lab4,10)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_lab4,(int) (10));
 //BA.debugLineNum = 229;BA.debugLine="func.color_border(lab3,Colors.Transparent,10dip)";
_vvvvvvvvvvvvvvvv7._color_border /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab3.getObject())),__c.Colors.Transparent,__c.DipToCurrent((int) (10)));
 //BA.debugLineNum = 231;BA.debugLine="Dim t1  As Boolean";
_t1 = false;
 //BA.debugLineNum = 232;BA.debugLine="t1  = File.Exists(File.DirInternal,\"abtahi/Book/\"";
_t1 = __c.File.Exists(__c.File.getDirInternal(),"abtahi/Book/"+BA.ObjectToString(_list_id.Get(_position))+"/1.mp3");
 //BA.debugLineNum = 233;BA.debugLine="If t1 Then";
if (_t1) { 
 //BA.debugLineNum = 234;BA.debugLine="lab3.TextColor = 0xFF3492F0";
_lab3.setTextColor(((int)0xff3492f0));
 //BA.debugLineNum = 235;BA.debugLine="func.SetRipple1(lab2,Colors.Transparent,0x7DFF00";
_vvvvvvvvvvvvvvvv7._vvvvvv4 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab2.getObject())),__c.Colors.Transparent,((int)0x7dff0000),(float) (__c.DipToCurrent((int) (10))),(int) (1),__c.Colors.Red);
 //BA.debugLineNum = 236;BA.debugLine="lab2.TextColor = 0xFFCE5669";
_lab2.setTextColor(((int)0xffce5669));
 //BA.debugLineNum = 237;BA.debugLine="lab4.TextColor = Colors.Black";
_lab4.setTextColor(__c.Colors.Black);
 }else {
 //BA.debugLineNum = 240;BA.debugLine="lab3.TextColor = 0xFFC2C1C1";
_lab3.setTextColor(((int)0xffc2c1c1));
 //BA.debugLineNum = 241;BA.debugLine="func.SetRipple1(lab2,Colors.Transparent,0xFFC2C1";
_vvvvvvvvvvvvvvvv7._vvvvvv4 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab2.getObject())),__c.Colors.Transparent,((int)0xffc2c1c1),(float) (__c.DipToCurrent((int) (10))),(int) (1),((int)0xffc2c1c1));
 //BA.debugLineNum = 242;BA.debugLine="lab2.TextColor = 0xFFC2C1C1";
_lab2.setTextColor(((int)0xffc2c1c1));
 //BA.debugLineNum = 243;BA.debugLine="lab4.TextColor = 0xFFC2C1C1";
_lab4.setTextColor(((int)0xffc2c1c1));
 };
 //BA.debugLineNum = 248;BA.debugLine="pan.Height = 60dip";
_pan.setHeight(__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 249;BA.debugLine="Parent.Height = pan.Top+pan.Height+10dip";
_parent.setHeight((int) (_pan.getTop()+_pan.getHeight()+__c.DipToCurrent((int) (10))));
 //BA.debugLineNum = 251;BA.debugLine="End Sub";
return "";
}
public String  _recsooreh_oncreateviewholder(anywheresoftware.b4a.objects.PanelWrapper _parent,int _viewtype) throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _pan = null;
anywheresoftware.b4a.objects.LabelWrapper _lab1 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab2 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab3 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab4 = null;
 //BA.debugLineNum = 149;BA.debugLine="Sub recSooreh_onCreateViewHolder (Parent As Panel,";
 //BA.debugLineNum = 152;BA.debugLine="Dim pan As Panel";
_pan = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 153;BA.debugLine="pan.Initialize(\"pan\")";
_pan.Initialize(ba,"pan");
 //BA.debugLineNum = 155;BA.debugLine="Dim lab1 As Label";
_lab1 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 156;BA.debugLine="Dim lab2 As Label";
_lab2 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 157;BA.debugLine="Dim lab3 As Label";
_lab3 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 158;BA.debugLine="Dim lab4 As Label";
_lab4 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 160;BA.debugLine="lab1.Initialize(\"\")";
_lab1.Initialize(ba,"");
 //BA.debugLineNum = 161;BA.debugLine="lab2.Initialize(\"lDelete\")";
_lab2.Initialize(ba,"lDelete");
 //BA.debugLineNum = 162;BA.debugLine="lab3.Initialize(\"\")";
_lab3.Initialize(ba,"");
 //BA.debugLineNum = 163;BA.debugLine="lab4.Initialize(\"\")";
_lab4.Initialize(ba,"");
 //BA.debugLineNum = 165;BA.debugLine="Parent.AddView(pan,5%x+70dip,5dip,90%x-70dip,60di";
_parent.AddView((android.view.View)(_pan.getObject()),(int) (__c.PerXToCurrent((float) (5),ba)+__c.DipToCurrent((int) (70))),__c.DipToCurrent((int) (5)),(int) (__c.PerXToCurrent((float) (90),ba)-__c.DipToCurrent((int) (70))),__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 167;BA.debugLine="pan.AddView(lab1,60dip,7.5dip,pan.Width-80dip,45d";
_pan.AddView((android.view.View)(_lab1.getObject()),__c.DipToCurrent((int) (60)),__c.DipToCurrent((int) (7.5)),(int) (_pan.getWidth()-__c.DipToCurrent((int) (80))),__c.DipToCurrent((int) (45)));
 //BA.debugLineNum = 168;BA.debugLine="pan.AddView(lab3,5dip,3dip,34dip,34dip)";
_pan.AddView((android.view.View)(_lab3.getObject()),__c.DipToCurrent((int) (5)),__c.DipToCurrent((int) (3)),__c.DipToCurrent((int) (34)),__c.DipToCurrent((int) (34)));
 //BA.debugLineNum = 169;BA.debugLine="pan.AddView(lab4,5dip,37dip,30%x,18dip)";
_pan.AddView((android.view.View)(_lab4.getObject()),__c.DipToCurrent((int) (5)),__c.DipToCurrent((int) (37)),__c.PerXToCurrent((float) (30),ba),__c.DipToCurrent((int) (18)));
 //BA.debugLineNum = 171;BA.debugLine="Parent.AddView(lab2,5%x,5dip,60dip,60dip)";
_parent.AddView((android.view.View)(_lab2.getObject()),__c.PerXToCurrent((float) (5),ba),__c.DipToCurrent((int) (5)),__c.DipToCurrent((int) (60)),__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 173;BA.debugLine="End Sub";
return "";
}
public String  _refulv() throws Exception{
 //BA.debugLineNum = 394;BA.debugLine="Sub RefUlv";
 //BA.debugLineNum = 395;BA.debugLine="recSooreh.Adapter2.NotifyDataSetChanged";
_recsooreh.getAdapter2().NotifyDataSetChanged();
 //BA.debugLineNum = 396;BA.debugLine="recSooreh.Adapter2.NotifyItemRemoved(0)";
_recsooreh.getAdapter2().NotifyItemRemoved((int) (0));
 //BA.debugLineNum = 397;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvvv2(anywheresoftware.b4a.objects.collections.List _lis) throws Exception{
 //BA.debugLineNum = 301;BA.debugLine="Sub startDownload(lis As List)";
 //BA.debugLineNum = 302;BA.debugLine="downloadF(lis.Get(0))";
_vvvvvvvvvvvvvvvvvvvvvvvv0((int)(BA.ObjectToNumber(_lis.Get((int) (0)))));
 //BA.debugLineNum = 303;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvv3() throws Exception{
 //BA.debugLineNum = 329;BA.debugLine="Private Sub Warnning";
 //BA.debugLineNum = 331;BA.debugLine="customDialog.addDialog(func.gland(58),func.gland(";
_vvvvvvvvvvvvvvv2._vvvvvvvvvvvvvvvvvvvvv0 /*String*/ (_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (58)),_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (59)),_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (30)),_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (29)),"");
 //BA.debugLineNum = 333;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
if (BA.fastSubCompare(sub, "DELEH"))
	return _deleh();
if (BA.fastSubCompare(sub, "REFULV"))
	return _refulv();
return BA.SubDelegator.SubNotFound;
}
}
