package com.pas.abtahibo.parvaz;


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

public class fragprv_book2 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.fragprv_book2");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", com.pas.abtahibo.parvaz.fragprv_book2.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4a.sql.SQL _vvvvvvvvvvvvvvvvvv5 = null;
public anywheresoftware.b4a.sql.SQL.ResultSetWrapper _vvvvvvvvvvvvvvvvvvvv1 = null;
public anywheresoftware.b4a.objects.collections.List _list_aye = null;
public com.aghajari.rv.Amir_RecyclerView _recneshan = null;
public anywheresoftware.b4a.objects.PanelWrapper _vvvvvvvvvvvvv0 = null;
public anywheresoftware.b4a.objects.PanelWrapper _panserch = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_back = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_share = null;
public anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
public anywheresoftware.b4a.sql.SQL _vvvvvvvvvvvvvv1 = null;
public anywheresoftware.b4a.sql.SQL.ResultSetWrapper _vvvvvvvvvvvvvv2 = null;
public String _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = "";
public de.amberhome.objects.appcompat.ACEditTextWrapper _ed_search = 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 = 123;BA.debugLine="Sub addView";
 //BA.debugLineNum = 125;BA.debugLine="content.LoadLayout(\"gridelayout\")";
_vvvvvvvvvvvvv0.LoadLayout("gridelayout",ba);
 //BA.debugLineNum = 126;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 = 127;BA.debugLine="func.SetRipple(lab_share ,0x337FD3B1,0x884C9A7B,1";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab_share.getObject())),((int)0x337fd3b1),((int)0x884c9a7b),(float) (16));
 //BA.debugLineNum = 129;BA.debugLine="ed_search.hint = func.gland(64)";
_ed_search.setHint(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (64)));
 //BA.debugLineNum = 130;BA.debugLine="ed_search.Typeface = Typeface.LoadFromAssets(func";
_ed_search.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 132;BA.debugLine="panSerch.Visible = False";
_panserch.setVisible(__c.False);
 //BA.debugLineNum = 133;BA.debugLine="recNeshan.Top = panSerch.Top";
_recneshan.setTop(_panserch.getTop());
 //BA.debugLineNum = 134;BA.debugLine="recNeshan.Height = 100%y-(panSerch.Top)";
_recneshan.setHeight((int) (__c.PerYToCurrent((float) (100),ba)-(_panserch.getTop())));
 //BA.debugLineNum = 136;BA.debugLine="Label1.Text = func.gland(145)&\" \"&func.readPFM(\"n";
_label1.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (145))+" "+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"nameBookP")));
 //BA.debugLineNum = 137;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 = 138;BA.debugLine="func.MinimomFontLabel(Label1,14)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_label1,(int) (14));
 //BA.debugLineNum = 140;BA.debugLine="End Sub";
return "";
}
public String  _class_globals() throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 3;BA.debugLine="Dim sql As SQL";
_vvvvvvvvvvvvvvvvvv5 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 4;BA.debugLine="Dim rs As ResultSet";
_vvvvvvvvvvvvvvvvvvvv1 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
 //BA.debugLineNum = 6;BA.debugLine="Private list_aye 	 As List";
_list_aye = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 8;BA.debugLine="Private recNeshan As AX_RecyclerView";
_recneshan = new com.aghajari.rv.Amir_RecyclerView();
 //BA.debugLineNum = 10;BA.debugLine="Dim content As Panel";
_vvvvvvvvvvvvv0 = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 11;BA.debugLine="Dim panSerch As Panel";
_panserch = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 12;BA.debugLine="Private lab_back As Label";
_lab_back = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 13;BA.debugLine="Private lab_share As Label";
_lab_share = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 15;BA.debugLine="Private Label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 17;BA.debugLine="Private sql2 As SQL";
_vvvvvvvvvvvvvv1 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 18;BA.debugLine="Private rs2  As ResultSet";
_vvvvvvvvvvvvvv2 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
 //BA.debugLineNum = 20;BA.debugLine="Dim strAyeh As String";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = "";
 //BA.debugLineNum = 22;BA.debugLine="Private ed_search As ACEditText";
_ed_search = new de.amberhome.objects.appcompat.ACEditTextWrapper();
 //BA.debugLineNum = 24;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvv1() throws Exception{
 //BA.debugLineNum = 245;BA.debugLine="Sub close";
 //BA.debugLineNum = 246;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) (14),this,"")));
 //BA.debugLineNum = 247;BA.debugLine="End Sub";
return "";
}
public String  _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
 //BA.debugLineNum = 26;BA.debugLine="Public Sub Initialize";
 //BA.debugLineNum = 27;BA.debugLine="End Sub";
return "";
}
public String  _lab_back_click() throws Exception{
 //BA.debugLineNum = 241;BA.debugLine="Sub lab_back_Click";
 //BA.debugLineNum = 242;BA.debugLine="close";
_vvvvvvvvvvvv1();
 //BA.debugLineNum = 243;BA.debugLine="End Sub";
return "";
}
public String  _lab_share_click() throws Exception{
String _name_db = "";
String _sbar = "";
int _i = 0;
String _filename = "";
anywheresoftware.b4a.objects.IntentWrapper _in = null;
 //BA.debugLineNum = 209;BA.debugLine="Sub lab_share_Click";
 //BA.debugLineNum = 211;BA.debugLine="ProgressDialogShow2(func.gland(146),False)";
__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (146))),__c.False);
 //BA.debugLineNum = 213;BA.debugLine="Dim name_db As String= \"bardasht_\"&func.readPFM(\"";
_name_db = "bardasht_"+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"idIndBop");
 //BA.debugLineNum = 214;BA.debugLine="Dim sBar As String";
_sbar = "";
 //BA.debugLineNum = 216;BA.debugLine="rs2 = sql2.ExecQuery(\"SELECT bar from '\"&name_db&";
_vvvvvvvvvvvvvv2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_vvvvvvvvvvvvvv1.ExecQuery("SELECT bar from '"+_name_db+"' ")));
 //BA.debugLineNum = 218;BA.debugLine="For i = 0 To rs2.RowCount -1";
{
final int step5 = 1;
final int limit5 = (int) (_vvvvvvvvvvvvvv2.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit5 ;_i = _i + step5 ) {
 //BA.debugLineNum = 220;BA.debugLine="rs2.Position = i";
_vvvvvvvvvvvvvv2.setPosition(_i);
 //BA.debugLineNum = 221;BA.debugLine="sBar = sBar &CRLF&CRLF&\"۰═⊰•⊱❃⊰•⊱⊰•⊱❃⊰•⊱═۰\" &CRL";
_sbar = _sbar+__c.CRLF+__c.CRLF+"۰═⊰•⊱❃⊰•⊱⊰•⊱❃⊰•⊱═۰"+__c.CRLF+__c.CRLF+_vvvvvvvvvvvvvv2.GetString("bar");
 }
};
 //BA.debugLineNum = 226;BA.debugLine="ProgressDialogHide";
__c.ProgressDialogHide();
 //BA.debugLineNum = 228;BA.debugLine="Dim fileName As String = func.gland(147)&\" \"&func";
_filename = _vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (147))+" "+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"nameBookP")+".txt";
 //BA.debugLineNum = 230;BA.debugLine="File.WriteString(Starter.Provider.SharedFolder, f";
__c.File.WriteString(_vvvvvvvvvvvvvvvvv3._vvvvvvvv0 /*com.pas.abtahibo.parvaz.fileprovider*/ ._vvvvvvvvvvvvvvvvvvvvvvvv5 /*String*/ ,_filename,_sbar);
 //BA.debugLineNum = 231;BA.debugLine="Dim in As Intent";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
 //BA.debugLineNum = 232;BA.debugLine="in.Initialize(in.ACTION_SEND, \"\")";
_in.Initialize(_in.ACTION_SEND,"");
 //BA.debugLineNum = 233;BA.debugLine="in.SetType(\"text/plain\")";
_in.SetType("text/plain");
 //BA.debugLineNum = 234;BA.debugLine="in.PutExtra(\"android.intent.extra.STREAM\", Starte";
_in.PutExtra("android.intent.extra.STREAM",_vvvvvvvvvvvvvvvvv3._vvvvvvvv0 /*com.pas.abtahibo.parvaz.fileprovider*/ ._vvvvvvvvvvvvvvvvvvvvvvvv3 /*Object*/ (_filename));
 //BA.debugLineNum = 235;BA.debugLine="in.Flags = 1";
_in.setFlags((int) (1));
 //BA.debugLineNum = 236;BA.debugLine="StartActivity(in)";
__c.StartActivity(ba,(Object)(_in.getObject()));
 //BA.debugLineNum = 239;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.fragprv_book2 parent,anywheresoftware.b4a.objects.PanelWrapper _parent) {
this.parent = parent;
this._parent = _parent;
}
com.pas.abtahibo.parvaz.fragprv_book2 parent;
anywheresoftware.b4a.objects.PanelWrapper _parent;
anywheresoftware.b4a.objects.LabelWrapper _l2n = null;
String _bookdbpae = "";
String _lan2faen = "";

@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 = 55;BA.debugLine="savef";
parent._vvvvvvvvvvvvvvvvvv2();
 //BA.debugLineNum = 57;BA.debugLine="content = Parent";
parent._vvvvvvvvvvvvv0 = _parent;
 //BA.debugLineNum = 58;BA.debugLine="content.Color = 0xFFFBFDFF";
parent._vvvvvvvvvvvvv0.setColor(((int)0xfffbfdff));
 //BA.debugLineNum = 60;BA.debugLine="If sql2.IsInitialized=False Then";
if (true) break;

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

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 61;BA.debugLine="sql2.Initialize(File.DirInternal,\"prv_note_book.";
parent._vvvvvvvvvvvvvv1.Initialize(parent.__c.File.getDirInternal(),"prv_note_book.db",parent.__c.True);
 if (true) break;

case 4:
//C
this.state = 5;
;
 //BA.debugLineNum = 65;BA.debugLine="Dim l2n As Label";
_l2n = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 66;BA.debugLine="l2n.Initialize(\"\")";
_l2n.Initialize(ba,"");
 //BA.debugLineNum = 67;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 = 68;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 = 69;BA.debugLine="l2n.Text=func.gland(54)";
_l2n.setText(BA.ObjectToCharSequence(parent._vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (54))));
 //BA.debugLineNum = 70;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 = 71;BA.debugLine="l2n.textColor = Colors.Black";
_l2n.setTextColor(parent.__c.Colors.Black);
 //BA.debugLineNum = 72;BA.debugLine="l2n.TextSize=14";
_l2n.setTextSize((float) (14));
 //BA.debugLineNum = 74;BA.debugLine="l2n.Visible = True";
_l2n.setVisible(parent.__c.True);
 //BA.debugLineNum = 75;BA.debugLine="Sleep(5)";
parent.__c.Sleep(ba,this,(int) (5));
this.state = 22;
return;
case 22:
//C
this.state = 5;
;
 //BA.debugLineNum = 76;BA.debugLine="addView";
parent._vvvvvvvvvvv0();
 //BA.debugLineNum = 77;BA.debugLine="l2n.Visible = False";
_l2n.setVisible(parent.__c.False);
 //BA.debugLineNum = 79;BA.debugLine="Dim bookDBPAE As String";
_bookdbpae = "";
 //BA.debugLineNum = 80;BA.debugLine="Dim lan2FaEn As String = (func.readNIS(\"lan2FaEn\"";
_lan2faen = (parent._vvvvvvvvvvvvvvvv7._vvvv7 /*String*/ (ba,"lan2FaEn",BA.NumberToString(1)));
 //BA.debugLineNum = 82;BA.debugLine="If lan2FaEn = 1 Then";
if (true) break;

case 5:
//if
this.state = 14;
if ((_lan2faen).equals(BA.NumberToString(1))) { 
this.state = 7;
}else if((_lan2faen).equals(BA.NumberToString(3))) { 
this.state = 9;
}else if((_lan2faen).equals(BA.NumberToString(2))) { 
this.state = 11;
}else {
this.state = 13;
}if (true) break;

case 7:
//C
this.state = 14;
 //BA.debugLineNum = 83;BA.debugLine="bookDBPAE = \"book.db\"";
_bookdbpae = "book.db";
 if (true) break;

case 9:
//C
this.state = 14;
 //BA.debugLineNum = 85;BA.debugLine="bookDBPAE = \"book_eng.db\"";
_bookdbpae = "book_eng.db";
 if (true) break;

case 11:
//C
this.state = 14;
 //BA.debugLineNum = 87;BA.debugLine="bookDBPAE = \"book_arabi.db\"";
_bookdbpae = "book_arabi.db";
 if (true) break;

case 13:
//C
this.state = 14;
 //BA.debugLineNum = 89;BA.debugLine="bookDBPAE = \"book.db\"";
_bookdbpae = "book.db";
 if (true) break;
;
 //BA.debugLineNum = 92;BA.debugLine="If sql.IsInitialized=False Then";

case 14:
//if
this.state = 17;
if (parent._vvvvvvvvvvvvvvvvvv5.IsInitialized()==parent.__c.False) { 
this.state = 16;
}if (true) break;

case 16:
//C
this.state = 17;
 //BA.debugLineNum = 93;BA.debugLine="sql.Initialize(File.DirInternal,bookDBPAE,True)";
parent._vvvvvvvvvvvvvvvvvv5.Initialize(parent.__c.File.getDirInternal(),_bookdbpae,parent.__c.True);
 if (true) break;

case 17:
//C
this.state = 18;
;
 //BA.debugLineNum = 97;BA.debugLine="list_aye.Initialize";
parent._list_aye.Initialize();
 //BA.debugLineNum = 99;BA.debugLine="rs = sql.ExecQuery(\"SELECT page FROM '\"&func.read";
parent._vvvvvvvvvvvvvvvvvvvv1 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent._vvvvvvvvvvvvvvvvvv5.ExecQuery("SELECT page FROM '"+parent._vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"ennameBP")+"' ")));
 //BA.debugLineNum = 100;BA.debugLine="Do While rs.NextRow";
if (true) break;

case 18:
//do while
this.state = 21;
while (parent._vvvvvvvvvvvvvvvvvvvv1.NextRow()) {
this.state = 20;
if (true) break;
}
if (true) break;

case 20:
//C
this.state = 18;
 //BA.debugLineNum = 101;BA.debugLine="list_aye.add(rs.GetInt(\"page\"))";
parent._list_aye.Add((Object)(parent._vvvvvvvvvvvvvvvvvvvv1.GetInt("page")));
 if (true) break;

case 21:
//C
this.state = -1;
;
 //BA.debugLineNum = 102;BA.debugLine="Loop : rs.Close";
parent._vvvvvvvvvvvvvvvvvvvv1.Close();
 //BA.debugLineNum = 105;BA.debugLine="updateClass";
parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7();
 //BA.debugLineNum = 107;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _vvvvvvvvvvvvvvvvvv1() throws Exception{
 //BA.debugLineNum = 29;BA.debugLine="public Sub onHiddenChanged";
 //BA.debugLineNum = 30;BA.debugLine="updateClass";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7();
 //BA.debugLineNum = 31;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvv6(int _keycode) throws Exception{
 //BA.debugLineNum = 250;BA.debugLine="public Sub onKey (KeyCode As Int)";
 //BA.debugLineNum = 252;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then";
if (_keycode==__c.KeyCodes.KEYCODE_BACK) { 
 //BA.debugLineNum = 253;BA.debugLine="close";
_vvvvvvvvvvvv1();
 };
 //BA.debugLineNum = 256;BA.debugLine="End Sub";
return "";
}
public String  _pan_click() throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _ll = null;
int _ii = 0;
 //BA.debugLineNum = 188;BA.debugLine="Sub pan_Click";
 //BA.debugLineNum = 190;BA.debugLine="Dim ll As Panel = Sender";
_ll = new anywheresoftware.b4a.objects.PanelWrapper();
_ll = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)));
 //BA.debugLineNum = 191;BA.debugLine="Dim ii As Int = ll.Tag";
_ii = (int)(BA.ObjectToNumber(_ll.getTag()));
 //BA.debugLineNum = 193;BA.debugLine="func.savePFM(\"idBook\"   , func.readPFM(\"idIndBop\"";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"idBook",_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"idIndBop"));
 //BA.debugLineNum = 194;BA.debugLine="func.savePFM(\"ipageBook\", list_aye.Get(ii))";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"ipageBook",BA.ObjectToString(_list_aye.Get(_ii)));
 //BA.debugLineNum = 195;BA.debugLine="func.savePFM(\"NameBook\" , func.readPFM(\"nameBookP";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"NameBook",_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"nameBookP"));
 //BA.debugLineNum = 198;BA.debugLine="func.savePFM(\"kodamPrvB\",2)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"kodamPrvB",BA.NumberToString(2));
 //BA.debugLineNum = 200;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) (30),this,"")));
 //BA.debugLineNum = 202;BA.debugLine="End Sub";
return "";
}
public int  _recneshan_getitemcount() throws Exception{
 //BA.debugLineNum = 155;BA.debugLine="Private Sub recNeshan_GetItemCount As Int";
 //BA.debugLineNum = 156;BA.debugLine="Return list_aye.Size";
if (true) return _list_aye.getSize();
 //BA.debugLineNum = 157;BA.debugLine="End Sub";
return 0;
}
public String  _recneshan_onbindviewholder(anywheresoftware.b4a.objects.PanelWrapper _parent,int _position) throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _pnl = null;
anywheresoftware.b4a.objects.LabelWrapper _lab2 = null;
 //BA.debugLineNum = 159;BA.debugLine="Private Sub recNeshan_onBindViewHolder (Parent As";
 //BA.debugLineNum = 161;BA.debugLine="Dim pnl As Panel=Parent.GetView(0)";
_pnl = new anywheresoftware.b4a.objects.PanelWrapper();
_pnl = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_parent.GetView((int) (0)).getObject()));
 //BA.debugLineNum = 162;BA.debugLine="Dim lab2 As Label=pnl.GetView(0)";
_lab2 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab2 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_pnl.GetView((int) (0)).getObject()));
 //BA.debugLineNum = 164;BA.debugLine="lab2.Text = func.gland(121)&\" \"& list_aye.Get(Pos";
_lab2.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (121))+" "+BA.ObjectToString(_list_aye.Get(_position))));
 //BA.debugLineNum = 165;BA.debugLine="lab2.Typeface = Typeface.LoadFromAssets(func.font";
_lab2.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 166;BA.debugLine="lab2.Gravity = Bit.Or(Gravity.CENTER,Gravity.CENT";
_lab2.setGravity(__c.Bit.Or(__c.Gravity.CENTER,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 167;BA.debugLine="lab2.TextColor = Colors.Black";
_lab2.setTextColor(__c.Colors.Black);
 //BA.debugLineNum = 168;BA.debugLine="func.MinimomFontLabel(lab2,14)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_lab2,(int) (14));
 //BA.debugLineNum = 170;BA.debugLine="pnl.Tag = Position";
_pnl.setTag((Object)(_position));
 //BA.debugLineNum = 171;BA.debugLine="pnl.Elevation = 4dip";
_pnl.setElevation((float) (__c.DipToCurrent((int) (4))));
 //BA.debugLineNum = 173;BA.debugLine="If strAyeh.Contains(\";;\"&list_aye.Get(Position)&\"";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.contains(";;"+BA.ObjectToString(_list_aye.Get(_position))+";;")) { 
 //BA.debugLineNum = 174;BA.debugLine="func.SetRipple(pnl,0xFFCDFFD9,0x33A9A9A9,25)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_pnl.getObject())),((int)0xffcdffd9),((int)0x33a9a9a9),(float) (25));
 }else {
 //BA.debugLineNum = 176;BA.debugLine="func.SetRipple(pnl,Colors.White,0x99eeeeee,25)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_pnl.getObject())),__c.Colors.White,((int)0x99eeeeee),(float) (25));
 };
 //BA.debugLineNum = 179;BA.debugLine="pnl.Width=30%x";
_pnl.setWidth(__c.PerXToCurrent((float) (30),ba));
 //BA.debugLineNum = 180;BA.debugLine="Parent.Width=32.5%x";
_parent.setWidth(__c.PerXToCurrent((float) (32.5),ba));
 //BA.debugLineNum = 181;BA.debugLine="pnl.Height=60dip";
_pnl.setHeight(__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 183;BA.debugLine="Parent.Height=80dip";
_parent.setHeight(__c.DipToCurrent((int) (80)));
 //BA.debugLineNum = 186;BA.debugLine="End Sub";
return "";
}
public String  _recneshan_oncreateviewholder(anywheresoftware.b4a.objects.PanelWrapper _parent,int _viewtype) throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _pan = null;
anywheresoftware.b4a.objects.LabelWrapper _lab2 = null;
 //BA.debugLineNum = 142;BA.debugLine="Private Sub recNeshan_onCreateViewHolder (Parent A";
 //BA.debugLineNum = 144;BA.debugLine="Dim pan As Panel";
_pan = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 145;BA.debugLine="pan.Initialize(\"pan\")";
_pan.Initialize(ba,"pan");
 //BA.debugLineNum = 146;BA.debugLine="Parent.AddView(pan,1.25%x,5dip,30%x,60dip)";
_parent.AddView((android.view.View)(_pan.getObject()),__c.PerXToCurrent((float) (1.25),ba),__c.DipToCurrent((int) (5)),__c.PerXToCurrent((float) (30),ba),__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 148;BA.debugLine="Dim lab2 As Label";
_lab2 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 149;BA.debugLine="lab2.Initialize(\"\")";
_lab2.Initialize(ba,"");
 //BA.debugLineNum = 150;BA.debugLine="pan.AddView(lab2,1%x,5dip,28%x,50dip)";
_pan.AddView((android.view.View)(_lab2.getObject()),__c.PerXToCurrent((float) (1),ba),__c.DipToCurrent((int) (5)),__c.PerXToCurrent((float) (28),ba),__c.DipToCurrent((int) (50)));
 //BA.debugLineNum = 153;BA.debugLine="End Sub";
return "";
}
public String  _ref_rec() throws Exception{
 //BA.debugLineNum = 205;BA.debugLine="Sub ref_rec";
 //BA.debugLineNum = 206;BA.debugLine="recNeshan.Adapter2.NotifyDataSetChanged";
_recneshan.getAdapter2().NotifyDataSetChanged();
 //BA.debugLineNum = 207;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvv2() throws Exception{
anywheresoftware.b4a.sql.SQL _sql3 = null;
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _cursor = null;
 //BA.debugLineNum = 33;BA.debugLine="Private Sub savef";
 //BA.debugLineNum = 35;BA.debugLine="Dim sql3 As SQL";
_sql3 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 36;BA.debugLine="Dim Cursor As ResultSet";
_cursor = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
 //BA.debugLineNum = 38;BA.debugLine="If sql3.IsInitialized=False Then";
if (_sql3.IsInitialized()==__c.False) { 
 //BA.debugLineNum = 39;BA.debugLine="sql3.Initialize(File.DirInternal,\"quransooreh.db";
_sql3.Initialize(__c.File.getDirInternal(),"quransooreh.db",__c.True);
 };
 //BA.debugLineNum = 42;BA.debugLine="Cursor = sql3.ExecQuery(\"SELECT id,idindex,name,e";
_cursor = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_sql3.ExecQuery("SELECT id,idindex,name,enname FROM book where lang = '"+_vvvvvvvvvvvvvvvv7._vvvv7 /*String*/ (ba,"lan2FaEn",BA.NumberToString(1))+"' order by idindex asc")));
 //BA.debugLineNum = 43;BA.debugLine="Cursor.Position = 0";
_cursor.setPosition((int) (0));
 //BA.debugLineNum = 45;BA.debugLine="func.savePFM(\"idIndBop\", Cursor.GetInt(\"idindex\")";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"idIndBop",BA.NumberToString(_cursor.GetInt("idindex")));
 //BA.debugLineNum = 46;BA.debugLine="func.savePFM(\"nameBookP\", Cursor.GetString(\"name\"";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"nameBookP",_cursor.GetString("name"));
 //BA.debugLineNum = 47;BA.debugLine="func.savePFM(\"ennameBP\",Cursor.GetString(\"enname\"";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"ennameBP",_cursor.GetString("enname"));
 //BA.debugLineNum = 49;BA.debugLine="Cursor.Close";
_cursor.Close();
 //BA.debugLineNum = 51;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7() throws Exception{
String _name_db = "";
int _i = 0;
 //BA.debugLineNum = 109;BA.debugLine="Sub updateClass";
 //BA.debugLineNum = 110;BA.debugLine="strAyeh = \"\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = "";
 //BA.debugLineNum = 111;BA.debugLine="Dim name_db As String= \"bardasht_\"&func.readPFM(\"";
_name_db = "bardasht_"+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"idIndBop");
 //BA.debugLineNum = 112;BA.debugLine="rs2 = sql2.ExecQuery(\"SELECT ayeh from '\"&name_db";
_vvvvvvvvvvvvvv2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_vvvvvvvvvvvvvv1.ExecQuery("SELECT ayeh from '"+_name_db+"' ")));
 //BA.debugLineNum = 113;BA.debugLine="For i = 0 To rs2.RowCount -1";
{
final int step4 = 1;
final int limit4 = (int) (_vvvvvvvvvvvvvv2.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
 //BA.debugLineNum = 114;BA.debugLine="rs2.Position = i";
_vvvvvvvvvvvvvv2.setPosition(_i);
 //BA.debugLineNum = 115;BA.debugLine="strAyeh = strAyeh &\";;\"&rs2.GetInt(\"ayeh\")&\";;\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0+";;"+BA.NumberToString(_vvvvvvvvvvvvvv2.GetInt("ayeh"))+";;";
 }
};
 //BA.debugLineNum = 118;BA.debugLine="Log(\"strAyeh: \"&strAyeh)";
__c.LogImpl("330605321","strAyeh: "+_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0,0);
 //BA.debugLineNum = 119;BA.debugLine="CallSubDelayed(Me,\"ref_rec\")";
__c.CallSubDelayed(ba,this,"ref_rec");
 //BA.debugLineNum = 120;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
if (BA.fastSubCompare(sub, "REF_REC"))
	return _ref_rec();
return BA.SubDelegator.SubNotFound;
}
}
