カスタム開発を介して実行▋張181/4487/7589マイクロ/電気▋Runtongアプリ開発、Runtongソフトウェアの開発、実行ソース開発、実行プラットフォーム開発、実行モデルの開発を、見つけるために実行システム開発、Runtong開発どのくらい私たちの専門的な開発:社会的な電気プロバイダ、クラウド電気の供給、電気の供給、マイクロモール、アプリケーション、モバイルウェブ、PCモールなどの新しいメディア... O2O、F2C、B2C、B2B2C、F2B2C、C2B、B2C2N、S2B2Cプラットフォーム、アプレット、マイクロビジネス管理システムは、スキャンコードは、Redバオ、配布、フルバック、配当、戦いのグループ、エリアの高速チェーン店、農場の繁殖システム、果樹園植栽ゲーム、ゲームシステム、地区迅速なチェーン財布システム、エリア、高速チェーンを繁殖すごいマイニングシステムは、セットは - 中央サービスシステム開発を提供します
------ヒント:プロの開発会社、非パーティプラットフォーム、プレイヤーは困りません------
パブリッククラスSelectDateDialog {
プライベート静的最終文字列タグ=「SelectDateDialog」。
プライベートダイアログダイアログ。
民間のTextView dateText。
プライベートint型selectYear、selectMonth。
プライベートAppCompatActivity mContext。
プライベートDateAdapterアダプタ。
プライベートリスト<文字列> selWeekList =新しいArrayListの<>();
プライベートリスト< DateBean>リスト=新しいArrayListの<>();
公共SelectDateDialogビルダー(AppCompatActivity mContext、int型年、INT月){
this.mContext = mContext。
this.selectYear =年。
this.selectMonth =月。
//取得ダイアログのレイアウト
ビュービュー= LayoutInflater.from(mContext).inflate(R.layout.dialog_date、NULL);
//レイアウトとパラメータ]ダイアログを定義します
ダイアログ=新しいダイアログ(mContext、R.style.AlertDialogStyle)。
dialog.setCanceledOnTouchOutside(偽); //外部をキャンセルするかどうかをクリックします
dialog.setCancelable(偽);
dialog.setContentView(図)。
ウィンドウのウィンドウ= dialog.getWindow()。
WindowManager.LayoutParamsのparams = window.getAttributes()。
params.width =(ScreenUtils.getScreenWidth(mContext))。
//params.height=(int)(ScreenUtils.getScreenHeight(mContext)*0.5);
window.setAttributes(paramsは)。
window.setGravity(Gravity.BOTTOM)。
RecyclerViewリサイクラ= view.findViewById(R.id.recycler_select_date)。
dateText = view.findViewById(R.id.date_text)。
dateText.setText(年+ "年" +月+ "月");
//来月
view.findViewById(R.id.next_month).setOnClickListener(view13-> {
IF(selectMonth> 11){
selectYear = selectYear + 1。
selectMonth = 1。
}他{
selectMonth ++;
}
showNewData(selectYear、selectMonth)。
});
//先月
view.findViewById(R.id.last_month).setOnClickListener(view14-> {
IF(selectMonth< 2){
selectYear = selectYear-1。
selectMonth = 12。
}他{
selectMonth--;
}
showNewData(selectYear、selectMonth)。
});
リスト= DataUtils.getCalendar(年、月)。
アダプター=新しいDateAdapter(mContext、リスト)。