The VRC System (View for Role-Category) is a personal knowledge management framework designed to help you organize and view notes dynamically. It focuses on structuring notes by ==Role== and ==Category==, allowing for flexibility, clarity, and efficient retrieval through ==Dataview== queries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Jason Zheng on 2019/12/4. | |
// | |
#ifndef SGR_H | |
#define SGR_H | |
#include <stdio.h> | |
#include <string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
// Just a comment | |
System.out.println("Hello, World!"); | |
} | |
} | |
// Result: | |
// Hello, World! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void focusLastCharOfEditText(View view) { | |
if (view instanceof EditText) { | |
EditText editText = (EditText) view; | |
int pos = editText.getText().length(); | |
editText.setSelection(pos); | |
editText.requestFocusFromTouch(); | |
InputMethodManager imm = (InputMethodManager)getContext().getApplicationContext().getSystemService(Context.INPUT_METHOD_SERVICE); | |
imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT); |