Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
親切に、私は内部ファイルを保存し、その後、それぞれファイル入出力ストリームを使用してそれを読み取っています。保存中に、保存を押すたびにカウンターが1つずつ増えるカウンターを追加したいと思います。前もって感謝します
アクティビティ レベル カウンタを使用して、その値を増やします。永続化する必要がある場合は、onPause を実行し、共有設定を使用して onResumt で取得します。